summaryrefslogtreecommitdiff
path: root/sdext/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 12:26:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:48 +0100
commit7cc255c9df1483d75fbe340ab9407b6b887ffaea (patch)
treeda366e7f3366bd01bd157aa638d7eef3e494f61c /sdext/source
parentfb9470825cced21a4f46203eac7bf302b809abdf (diff)
Use proper bool operations
Change-Id: If9d439faba5a02b50152dfa1090b9eb1afa0fc18
Diffstat (limited to 'sdext/source')
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index 7f14192f8ece..4704f5b2bcdd 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -868,7 +868,7 @@ void PDFOutDev::drawImageMask(GfxState* pState, Object*, Stream* str,
writePng_( aBuf, str, width, height, zeroColor, oneColor, true, true );
}
else
- writeMaskLF(aBuf, str, width, height, invert != 0);
+ writeMaskLF(aBuf, str, width, height, invert);
writeBinaryBuffer(aBuf);
}