pdf: fix empty page attached when exporting (#13632)
Contributed by Jun NAITOH.
Authored by: tmaruyama 2013-09-30
Parent: [r12188]
Child: [r12190]