Commits

Philipp Lohmann [pl]  committed b889bf4

vcl116: #i115053# save work in EndJob if there is no page in the job

  • Participants
  • Parent commits ed0fec8

Comments (0)

Files changed (1)

File vcl/unx/source/printergfx/printerjob.cxx

 sal_Bool
 PrinterJob::EndJob ()
 {
+    // no pages ? that really means no print job
+    if( maPageList.empty() )
+        return sal_False;
+    
     // write document setup (done here because it
     // includes the accumulated fonts
     if( mpJobHeader )