diff options
author | David Tardon <dtardon@redhat.com> | 2011-11-23 09:25:13 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-12-05 15:11:48 +0100 |
commit | c11d549a89fe16db311be3a9f057da69ab6bf49b (patch) | |
tree | 8c3fc53dbe384187a23c522eb1d7b6a5584b7722 /vcl | |
parent | add support for printing n copies (diff) | |
download | core-c11d549a89fe16db311be3a9f057da69ab6bf49b.tar.gz core-c11d549a89fe16db311be3a9f057da69ab6bf49b.zip |
deactivate print job after error
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/gdi/print3.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index f8a2387589c7..cd1cb51c0229 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -568,6 +568,11 @@ bool Printer::StartJob( const rtl::OUString& i_rJobName, boost::shared_ptr<vcl:: mnCurPrintPage = 0; mbPrinting = sal_False; mpPrinter = NULL; + mbJobActive = sal_False; + + GDIMetaFile aDummyFile; + i_pController->setLastPage(sal_True); + i_pController->getFilteredPageFile(0, aDummyFile); return false; } |