diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-02 13:58:21 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-08-02 13:58:21 +0000 |
commit | 09ea0f161a75329797bfeea3dc4f99b7277ceab6 (patch) | |
tree | 2704d4fe864c7214198c9a0ed91763e9d789b975 /psprint | |
parent | cbfb27d912d45eb159e4f3ab490f15c962d1eef9 (diff) |
INTEGRATION: CWS vcl81 (1.43.20); FILE MERGED
2007/07/19 14:17:25 pl 1.43.20.1: #i57011# emit empty invocations for the benefit of print managers
Diffstat (limited to 'psprint')
-rw-r--r-- | psprint/source/printergfx/printerjob.cxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/psprint/source/printergfx/printerjob.cxx b/psprint/source/printergfx/printerjob.cxx index 4c4da24276fa..b8383dbd28b6 100644 --- a/psprint/source/printergfx/printerjob.cxx +++ b/psprint/source/printergfx/printerjob.cxx @@ -4,9 +4,9 @@ * * $RCSfile: printerjob.cxx,v $ * - * $Revision: 1.43 $ + * $Revision: 1.44 $ * - * last change: $Author: obo $ $Date: 2007-03-05 15:23:00 $ + * last change: $Author: hr $ $Date: 2007-08-02 14:58:21 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -842,13 +842,12 @@ bool PrinterJob::writeFeatureList( osl::File* pFile, const JobData& rJob, bool b if( bEmit ) { const PPDValue* pValue = rJob.m_aContext.getValue( pKey ); - if(pValue - && pValue->m_eType == eInvocation - && pValue->m_aValue.Len() - && ( m_aLastJobData.m_pParser == NULL - || m_aLastJobData.m_aContext.getValue( pKey ) != pValue - || bDocumentSetup - ) + if( pValue + && pValue->m_eType == eInvocation + && ( m_aLastJobData.m_pParser == NULL + || m_aLastJobData.m_aContext.getValue( pKey ) != pValue + || bDocumentSetup + ) ) { // try to avoid PS level 2 feature commands if level is set to 1 |