summaryrefslogtreecommitdiff
path: root/vcl/source/filter/GraphicNativeTransform.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/GraphicNativeTransform.cxx')
-rw-r--r--vcl/source/filter/GraphicNativeTransform.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/vcl/source/filter/GraphicNativeTransform.cxx b/vcl/source/filter/GraphicNativeTransform.cxx
index fc6143296072..187d3d089a61 100644
--- a/vcl/source/filter/GraphicNativeTransform.cxx
+++ b/vcl/source/filter/GraphicNativeTransform.cxx
@@ -44,15 +44,10 @@ bool GraphicNativeTransform::canBeRotated()
return false;
}
- if ( aLink.GetType() == GfxLinkType::NativeJpg
+ return aLink.GetType() == GfxLinkType::NativeJpg
|| aLink.GetType() == GfxLinkType::NativePng
|| aLink.GetType() == GfxLinkType::NativeGif
- || aLink.GetType() == GfxLinkType::NONE)
- {
- return true;
- }
-
- return false;
+ || aLink.GetType() == GfxLinkType::NONE;
}
bool GraphicNativeTransform::rotate(sal_uInt16 aInputRotation)