diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-26 16:43:42 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-01-26 16:43:42 +0100 |
commit | 067e9b189b26900e0f3d064b134c9cea5865069d (patch) | |
tree | 8933377cca9e07430a2a0bd40fbd1c8099a7cadc /vcl/unx/source/printergfx | |
parent | 20c9b2305c7f9c2341961a1aa32bdc151aead3b4 (diff) | |
parent | 432e0fcb93c713a39890ec7ed0769521ef6ef3e8 (diff) |
CWS-TOOLING: integrate CWS vcl108
Diffstat (limited to 'vcl/unx/source/printergfx')
-rw-r--r-- | vcl/unx/source/printergfx/printerjob.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/source/printergfx/printerjob.cxx b/vcl/unx/source/printergfx/printerjob.cxx index 1c42cafa4cb9..bc9746c3fe77 100644 --- a/vcl/unx/source/printergfx/printerjob.cxx +++ b/vcl/unx/source/printergfx/printerjob.cxx @@ -915,6 +915,9 @@ bool PrinterJob::writePageSetup( osl::File* pFile, const JobData& rJob, bool bWr void PrinterJob::writeJobPatch( osl::File* pFile, const JobData& rJobData ) { + if( ! PrinterInfoManager::get().getUseJobPatch() ) + return; + const PPDKey* pKey = NULL; if( rJobData.m_pParser ) |