summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-06 16:03:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-06 16:04:13 +0100
commitc8e11b48a34f215a66908d9496e118fe96c5c808 (patch)
tree8ba84a31acb3fd63d78b0887774a228362f81aa6 /vcl
parentCppunitTest_sw_ooxmlexport: fix testcase that didn't fail without the fix (diff)
downloadcore-c8e11b48a34f215a66908d9496e118fe96c5c808.tar.gz
core-c8e11b48a34f215a66908d9496e118fe96c5c808.zip
Blind fix^2
Change-Id: I8d44908fc849f93bbd076c7c62ad11a68f0dab6f
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/filter/jpeg/jpegc.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
index d16932ebd3bd..23fa73f676f5 100644
--- a/vcl/source/filter/jpeg/jpegc.cxx
+++ b/vcl/source/filter/jpeg/jpegc.cxx
@@ -70,15 +70,15 @@ void ReadJPEG( JPEGReader* pJPEGReader, void* pInputStream, long* pLines,
unsigned char * pScanLineBuffer = NULL;
long nScanLineBufferComponents = 0;
+ int nPreviewWidth = thePreviewWidth;
+ int nPreviewHeight = thePreviewHeight;
+
if ( setjmp( jerr.setjmp_buffer ) )
{
jpeg_destroy_decompress( &cinfo );
return;
}
- int nPreviewWidth = thePreviewWidth;
- int nPreviewHeight = thePreviewHeight;
-
cinfo.err = jpeg_std_error( &jerr.pub );
jerr.pub.error_exit = errorExit;
jerr.pub.output_message = outputMessage;