diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/filter/jpeg/jpeg.h | 2 | ||||
-rw-r--r-- | vcl/source/filter/jpeg/jpegc.cxx | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/vcl/source/filter/jpeg/jpeg.h b/vcl/source/filter/jpeg/jpeg.h index 19276635aa0d..bb6c73fc5834 100644 --- a/vcl/source/filter/jpeg/jpeg.h +++ b/vcl/source/filter/jpeg/jpeg.h @@ -48,7 +48,7 @@ bool WriteJPEG( JPEGWriter* pJPEGWriter, void* pOutputStream, void ReadJPEG( JPEGReader* pJPEGReader, void* pInputStream, long* pLines, Size const & previewSize ); -long Transform( void* pInputStream, void* pOutputStream, long nAngle ); +void Transform(void* pInputStream, void* pOutputStream, long nAngle); /* Expanded data source object for stdio input */ diff --git a/vcl/source/filter/jpeg/jpegc.cxx b/vcl/source/filter/jpeg/jpegc.cxx index c47bb126d65e..c49c42fd5c7b 100644 --- a/vcl/source/filter/jpeg/jpegc.cxx +++ b/vcl/source/filter/jpeg/jpegc.cxx @@ -371,7 +371,7 @@ bool WriteJPEG( JPEGWriter* pJPEGWriter, void* pOutputStream, return true; } -long Transform(void* pInputStream, void* pOutputStream, long nAngle) +void Transform(void* pInputStream, void* pOutputStream, long nAngle) { try { @@ -449,9 +449,7 @@ long Transform(void* pInputStream, void* pOutputStream, long nAngle) } catch (const css::uno::RuntimeException&) { - return 0; } - return 1; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |