From bd28564be85ee51dc08cb2591840e1cb00263e28 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 26 Jul 2018 12:27:10 +0200 Subject: loplugin:returnconstant in vcl Change-Id: I597ef6d75d1c21cdc15a91bf7f549bc14c851506 Reviewed-on: https://gerrit.libreoffice.org/58086 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/filter/GraphicNativeTransform.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'vcl/source/filter/GraphicNativeTransform.cxx') 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: */ -- cgit