summaryrefslogtreecommitdiff
path: root/vcl/source/filter/GraphicNativeTransform.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-26 12:27:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-27 11:42:27 +0200
commitbd28564be85ee51dc08cb2591840e1cb00263e28 (patch)
tree192a63ee3898075f7fe60738f65ec72421cb441c /vcl/source/filter/GraphicNativeTransform.cxx
parent02dc2cafbb0364556a4145633485f3c9f082b43d (diff)
loplugin:returnconstant in vcl
Change-Id: I597ef6d75d1c21cdc15a91bf7f549bc14c851506 Reviewed-on: https://gerrit.libreoffice.org/58086 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/filter/GraphicNativeTransform.cxx')
-rw-r--r--vcl/source/filter/GraphicNativeTransform.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/source/filter/GraphicNativeTransform.cxx b/vcl/source/filter/GraphicNativeTransform.cxx
index 50a472903005..db4a1078a70d 100644
--- a/vcl/source/filter/GraphicNativeTransform.cxx
+++ b/vcl/source/filter/GraphicNativeTransform.cxx
@@ -116,7 +116,7 @@ bool GraphicNativeTransform::rotateGeneric(sal_uInt16 aRotation, const OUString&
return true;
}
-bool GraphicNativeTransform::rotateJPEG(sal_uInt16 aRotation)
+void GraphicNativeTransform::rotateJPEG(sal_uInt16 aRotation)
{
BitmapEx aBitmap = mrGraphic.GetBitmapEx();
@@ -162,8 +162,6 @@ bool GraphicNativeTransform::rotateJPEG(sal_uInt16 aRotation)
rFilter.ImportGraphic( aGraphic, OUString("import"), aTargetStream );
mrGraphic = aGraphic;
}
-
- return true;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */