Merged r12189 from trunk to 2.3-stable (#13632)
pdf: fix empty page attached when exporting.
Contributed by Jun NAITOH.
Authored by: tmaruyama 2013-09-30
Parent: [r12190]
Child: [r12192]