diff options
Diffstat (limited to 'sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx')
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx index 129f2b9fe871..4484e8f50961 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx @@ -149,11 +149,10 @@ bool ExtractJpegData(Stream* str, OutputBuffer& outBuf) int bytesToLen = -1; bool collectBytes = false; int startOfScan = 0; - int b2 = -1; int b1 = -1; for (; ; ) { - b2 = b1; + const int b2 = b1; b1 = str->getChar(); if (b1 == -1) |