diff options
Diffstat (limited to 'vcl/source/filter/GraphicNativeTransform.cxx')
-rw-r--r-- | vcl/source/filter/GraphicNativeTransform.cxx | 16 |
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 |