[Libreoffice-commits] core.git: vcl/source
Stephan Bergmann
sbergman at redhat.com
Thu Feb 6 07:04:41 PST 2014
vcl/source/filter/jpeg/jpegc.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c8e11b48a34f215a66908d9496e118fe96c5c808
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Feb 6 16:03:55 2014 +0100
Blind fix^2
Change-Id: I8d44908fc849f93bbd076c7c62ad11a68f0dab6f
diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx
index d16932e..23fa73f 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;
More information about the Libreoffice-commits
mailing list