diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-08-25 15:10:52 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-08-25 15:10:52 +0000 |
commit | f7c90346cdcdcb54a8cc9bd2836cc5a5e76b330d (patch) | |
tree | 4e733e0737bf0524c9c36b8caf0fe85864708972 /psprint/source | |
parent | 66397c2bcf7fb7fc3cc44d03ac5e2b056b1715c3 (diff) |
INTEGRATION: CWS gslpatches4 (1.30.16); FILE MERGED
2005/07/11 12:11:07 pl 1.30.16.1: #i51673# report error in EndJob
Diffstat (limited to 'psprint/source')
-rw-r--r-- | psprint/source/printergfx/printerjob.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/psprint/source/printergfx/printerjob.cxx b/psprint/source/printergfx/printerjob.cxx index 7dfe8a9da23f..c0e7269ad3b0 100644 --- a/psprint/source/printergfx/printerjob.cxx +++ b/psprint/source/printergfx/printerjob.cxx @@ -2,9 +2,9 @@ * * $RCSfile: printerjob.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: kz $ $Date: 2005-05-31 17:02:25 $ + * last change: $Author: kz $ $Date: 2005-08-25 16:10:52 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -682,7 +682,11 @@ PrinterJob::EndJob () #ifndef MACOSX { PrinterInfoManager& rPrinterInfoManager = PrinterInfoManager::get(); - rPrinterInfoManager.endSpool( m_aLastJobData.m_aPrinterName, maJobTitle, pDestFILE, m_aDocumentJobData ); + if (0 == rPrinterInfoManager.endSpool( m_aLastJobData.m_aPrinterName, + maJobTitle, pDestFILE, m_aDocumentJobData )) + { + bSuccess = sal_False; + } } #else { |