diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-03-18 20:23:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-03-18 21:41:29 +0000 |
commit | cfd749370465ca25ffe8cd776a3bde8aae75260c (patch) | |
tree | eab85defab241eb4a5d97bbcafe11577369ca324 /vcl | |
parent | 6889fa826eef6bd1074d77507818e71dfe8ba152 (diff) |
noone cares about the return value
Change-Id: I1f5e0ea481c39b92726812722d3f6f782f3cec9d
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: */ |