summaryrefslogtreecommitdiff
path: root/vcl/generic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-09 23:09:12 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 08:30:30 +0100
commite6323214830895d1c76ec44ee53990bf577fbda2 (patch)
tree84b2fd569d4297b6547ea74cffb0b0c19bcd5691 /vcl/generic
parent18915452d17d6a0ca431eb07b6f5b9f1deb1e6af (diff)
endSpool return value is effectively success flag, not job ID
Change-Id: I5b96eeff80ca29f0f8f24ee6da7a2ca76cbb05ce
Diffstat (limited to 'vcl/generic')
-rw-r--r--vcl/generic/print/printerjob.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/generic/print/printerjob.cxx b/vcl/generic/print/printerjob.cxx
index 131c6515f961..e18d769fa2e8 100644
--- a/vcl/generic/print/printerjob.cxx
+++ b/vcl/generic/print/printerjob.cxx
@@ -530,7 +530,7 @@ PrinterJob::EndJob ()
else
{
PrinterInfoManager& rPrinterInfoManager = PrinterInfoManager::get();
- if (0 == rPrinterInfoManager.endSpool( m_aLastJobData.m_aPrinterName,
+ if (!rPrinterInfoManager.endSpool( m_aLastJobData.m_aPrinterName,
maJobTitle, pDestFILE, m_aDocumentJobData, true ))
{
bSuccess = sal_False;