diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-06 13:12:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-06 13:12:52 +0100 |
commit | e5ce36800b1669da08ab6440bc2f8bc2bd305ded (patch) | |
tree | 7746c44f1e73f20c40841b18e170362fd8c68732 | |
parent | 39078c247d31674544901f8449f5141185f79f7f (diff) |
assert on attempt to print after cancel
Change-Id: I46dadf9be542990ef18d78a54d7ebce3c3df80f9
-rw-r--r-- | vcl/source/gdi/print3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/print3.cxx b/vcl/source/gdi/print3.cxx index e55329389d5d..b8ed8d5afb9d 100644 --- a/vcl/source/gdi/print3.cxx +++ b/vcl/source/gdi/print3.cxx @@ -525,9 +525,9 @@ void Printer::ImplPrintJob(std::shared_ptr<PrinterController> xController, { if (PreparePrintJob(xController, i_rInitSetup)) { - ExecutePrintJob( xController ); - FinishPrintJob( xController ); + ExecutePrintJob(xController); } + FinishPrintJob(xController); } bool Printer::StartJob( const OUString& i_rJobName, std::shared_ptr<vcl::PrinterController>& i_xController) |