summaryrefslogtreecommitdiff
path: root/svtools/source/filter.vcl/jpeg/jpegc.c
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/filter.vcl/jpeg/jpegc.c')
-rw-r--r--svtools/source/filter.vcl/jpeg/jpegc.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/svtools/source/filter.vcl/jpeg/jpegc.c b/svtools/source/filter.vcl/jpeg/jpegc.c
index f94d7039920f..3517e6cb08a9 100644
--- a/svtools/source/filter.vcl/jpeg/jpegc.c
+++ b/svtools/source/filter.vcl/jpeg/jpegc.c
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,11 +72,11 @@ void SetJpegPreviewSizeHint( int nWidth, int nHeight )
void ReadJPEG( void* pJPEGReader, void* pIStm, long* pLines )
{
- struct jpeg_decompress_struct cinfo;
- struct my_error_mgr jerr;
+ struct jpeg_decompress_struct cinfo;
+ struct my_error_mgr jerr;
struct JPEGCreateBitmapParam aCreateBitmapParam;
- HPBYTE pDIB;
- HPBYTE pTmp;
+ HPBYTE pDIB;
+ HPBYTE pTmp;
long nWidth;
long nHeight;
long nAlignedWidth;
@@ -85,7 +85,7 @@ void ReadJPEG( void* pJPEGReader, void* pIStm, long* pLines )
long nScanLineBufferComponents = 0;
// declare bDecompCreated volatile because of gcc
// warning: variable 'bDecompCreated' might be clobbered by `longjmp' or `vfork'
- volatile long bDecompCreated = 0;
+ volatile long bDecompCreated = 0;
/* Falls der Stream nicht ausreicht (IO_PENDING)
wird ueber ein longjmp in der Schleife nach Exit
@@ -198,7 +198,7 @@ void ReadJPEG( void* pJPEGReader, void* pIStm, long* pLines )
/* PENDING ??? */
if ( cinfo.err->msg_code == 113 )
break;
-
+
pTmp += nAlignedWidth;
}
}
@@ -219,14 +219,14 @@ long WriteJPEG( void* pJPEGWriter, void* pOStm,
long nWidth, long nHeight, long bGreys,
long nQualityPercent, void* pCallbackData )
{
- struct jpeg_compress_struct cinfo;
- struct my_error_mgr jerr;
- void* pScanline;
- long nY;
+ struct jpeg_compress_struct cinfo;
+ struct my_error_mgr jerr;
+ void* pScanline;
+ long nY;
// declare bCompCreated, bRet volatile because of gcc
// warning: variable 'bCompCreated' might be clobbered by `longjmp' or `vfork'
- volatile long bCompCreated = 0;
- volatile long bRet = 0;
+ volatile long bCompCreated = 0;
+ volatile long bRet = 0;
if ( setjmp( jerr.setjmp_buffer ) )
goto Exit;