diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-08-25 15:10:38 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-08-25 15:10:38 +0000 |
commit | 66397c2bcf7fb7fc3cc44d03ac5e2b056b1715c3 (patch) | |
tree | 1aca421fc2b81339593c152c41a4e4d1620e52ab | |
parent | bde455ca273bd19341e7b36f4056bc946da0f9d3 (diff) |
INTEGRATION: CWS gslpatches4 (1.29.16); FILE MERGED
2005/07/11 12:11:07 pl 1.29.16.1: #i51673# report error in EndJob
-rw-r--r-- | psprint/source/printer/printerinfomanager.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/psprint/source/printer/printerinfomanager.cxx b/psprint/source/printer/printerinfomanager.cxx index 5ad8f6b92a8f..926ba517c2be 100644 --- a/psprint/source/printer/printerinfomanager.cxx +++ b/psprint/source/printer/printerinfomanager.cxx @@ -2,9 +2,9 @@ * * $RCSfile: printerinfomanager.cxx,v $ * - * $Revision: 1.29 $ + * $Revision: 1.30 $ * - * last change: $Author: kz $ $Date: 2005-05-31 17:02:11 $ + * last change: $Author: kz $ $Date: 2005-08-25 16:10:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1240,8 +1240,7 @@ FILE* PrinterInfoManager::startSpool( const OUString& rPrintername ) int PrinterInfoManager::endSpool( const OUString& rPrintername, const OUString& rJobTitle, FILE* pFile, const JobData& rDocumentJobData ) { - pclose( pFile ); - return 0; // job id ? + return (0 == pclose( pFile )); } void PrinterInfoManager::setupJobContextData( JobData& rData ) |