summaryrefslogtreecommitdiff
path: root/vcl/source/filter/GraphicNativeTransform.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-09 17:10:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-07-12 12:20:05 +0200
commitb050b7eeff089ead4dd121967cf323d683f171bc (patch)
tree8cc83bf6e63957bc3d0f38a2531361e7bbce75ee /vcl/source/filter/GraphicNativeTransform.cxx
parentec9b4bf1b671fa1b14ca51f0275480ab17da3d20 (diff)
update pches
Change-Id: I75602277a5a26b012a12f2c4f4b7ff5bb663b0b9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98474 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/filter/GraphicNativeTransform.cxx')
-rw-r--r--vcl/source/filter/GraphicNativeTransform.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/vcl/source/filter/GraphicNativeTransform.cxx b/vcl/source/filter/GraphicNativeTransform.cxx
index 8083dd4c2e77..b2d90f43e8d7 100644
--- a/vcl/source/filter/GraphicNativeTransform.cxx
+++ b/vcl/source/filter/GraphicNativeTransform.cxx
@@ -28,8 +28,6 @@
#include "jpeg/Exif.hxx"
#include "jpeg/JpegTransform.hxx"
-using namespace ::exif;
-
GraphicNativeTransform::GraphicNativeTransform(Graphic& rGraphic)
: mrGraphic(rGraphic)
{
@@ -135,7 +133,7 @@ void GraphicNativeTransform::rotateJPEG(sal_uInt16 aRotation)
aSourceStream.WriteBytes(aLink.GetData(), aLink.GetDataSize());
aSourceStream.Seek(STREAM_SEEK_TO_BEGIN);
- Orientation aOrientation = TOP_LEFT;
+ exif::Orientation aOrientation = exif::TOP_LEFT;
Exif exif;
if (exif.read(aSourceStream))
@@ -151,9 +149,9 @@ void GraphicNativeTransform::rotateJPEG(sal_uInt16 aRotation)
aTargetStream.Seek(STREAM_SEEK_TO_BEGIN);
// Reset orientation in exif if needed
- if (exif.hasExif() && aOrientation != TOP_LEFT)
+ if (exif.hasExif() && aOrientation != exif::TOP_LEFT)
{
- exif.setOrientation(TOP_LEFT);
+ exif.setOrientation(exif::TOP_LEFT);
exif.write(aTargetStream);
}