From 32823280efffc02a250fc8d4749b8eb0f491ae77 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 9 Nov 2017 15:47:45 +0200 Subject: loplugin:unusedmethods Change-Id: I543b0943f0bc918d59debc8ee051f88c29d18454 Reviewed-on: https://gerrit.libreoffice.org/44553 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/source/filter/GraphicNativeTransform.cxx | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'vcl/source/filter') diff --git a/vcl/source/filter/GraphicNativeTransform.cxx b/vcl/source/filter/GraphicNativeTransform.cxx index 187d3d089a61..4870e7011649 100644 --- a/vcl/source/filter/GraphicNativeTransform.cxx +++ b/vcl/source/filter/GraphicNativeTransform.cxx @@ -34,22 +34,6 @@ GraphicNativeTransform::GraphicNativeTransform(Graphic& rGraphic) : GraphicNativeTransform::~GraphicNativeTransform() {} -bool GraphicNativeTransform::canBeRotated() -{ - GfxLink aLink = mrGraphic.GetLink(); - - // Don't allow rotation on animations for now - if (mrGraphic.IsAnimated()) - { - return false; - } - - return aLink.GetType() == GfxLinkType::NativeJpg - || aLink.GetType() == GfxLinkType::NativePng - || aLink.GetType() == GfxLinkType::NativeGif - || aLink.GetType() == GfxLinkType::NONE; -} - bool GraphicNativeTransform::rotate(sal_uInt16 aInputRotation) { // Rotation can be between 0 and 3600 -- cgit v1.2.1