summaryrefslogtreecommitdiff
path: root/vcl/unx/source/printergfx
diff options
context:
space:
mode:
authorPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2009-12-15 12:31:08 +0100
committerPhilipp Lohmann [pl] <Philipp.Lohmann@Sun.COM>2009-12-15 12:31:08 +0100
commit51da2ee75357b631f4970517e2bccabf12e7e561 (patch)
tree93e6a840c67065ad737a2c6e8160fc498c970dcf /vcl/unx/source/printergfx
parent1c0ea39cacdd551310d1f263b652d0e0aefa68b6 (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.cxx3
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 )