summaryrefslogtreecommitdiff
path: root/vcl/source/filter/jpeg/jpegc.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-18 20:23:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-18 21:41:29 +0000
commitcfd749370465ca25ffe8cd776a3bde8aae75260c (patch)
treeeab85defab241eb4a5d97bbcafe11577369ca324 /vcl/source/filter/jpeg/jpegc.cxx
parent6889fa826eef6bd1074d77507818e71dfe8ba152 (diff)
noone cares about the return value
Change-Id: I1f5e0ea481c39b92726812722d3f6f782f3cec9d
Diffstat (limited to 'vcl/source/filter/jpeg/jpegc.cxx')
-rw-r--r--vcl/source/filter/jpeg/jpegc.cxx4
1 files changed, 1 insertions, 3 deletions
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: */