diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2009-12-15 12:31:08 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2009-12-15 12:31:08 +0100 |
commit | 51da2ee75357b631f4970517e2bccabf12e7e561 (patch) | |
tree | 93e6a840c67065ad737a2c6e8160fc498c970dcf /vcl/unx/source/printergfx | |
parent | 1c0ea39cacdd551310d1f263b652d0e0aefa68b6 (diff) |
vcl108: #i95682# omit JobPatch entries in CUPS case as CUPS adds them itself
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 783dd5ff2b47..5a51f1d76b92 100644 --- a/vcl/unx/source/printergfx/printerjob.cxx +++ b/vcl/unx/source/printergfx/printerjob.cxx @@ -914,6 +914,9 @@ bool PrinterJob::writePageSetup( osl::File* pFile, const JobData& rJob ) void PrinterJob::writeJobPatch( osl::File* pFile, const JobData& rJobData ) { + if( ! PrinterInfoManager::get().getUseJobPatch() ) + return; + const PPDKey* pKey = NULL; if( rJobData.m_pParser ) |