summaryrefslogtreecommitdiff
path: root/vcl/source/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-09 15:47:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-10 12:56:14 +0100
commit32823280efffc02a250fc8d4749b8eb0f491ae77 (patch)
treed53b384498f6ba4c40b3449205eda96d45fc7c1e /vcl/source/filter
parent617fb9eed92711639e4e632132a649f23ac2f3eb (diff)
loplugin:unusedmethods
Change-Id: I543b0943f0bc918d59debc8ee051f88c29d18454 Reviewed-on: https://gerrit.libreoffice.org/44553 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/filter')
-rw-r--r--vcl/source/filter/GraphicNativeTransform.cxx16
1 files changed, 0 insertions, 16 deletions
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