summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-06 09:00:50 +0200
committerNoel Grandin <noel@peralex.com>2015-05-06 09:01:31 +0200
commit662fc8eaa94d766104bced33c18b4718722c6692 (patch)
treebdf3c702a3e1991e6e20cfd2d10615bf844930df /vcl/source/gdi/bitmap3.cxx
parentb13fbd19b7282a1210a2e14bb5ede9ecdf944c1c (diff)
convert BMP_MIRROR constants to scoped enum
and fix bug in svx/source/xoutdev/_xoutbmp.cxx,XOutBitmap::MirrorGraphic where it was not correctly translating between different flags types. Change-Id: I78b4965544da2aa54b67ec18307fa54c8ffc3aee
Diffstat (limited to 'vcl/source/gdi/bitmap3.cxx')
-rw-r--r--vcl/source/gdi/bitmap3.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index f3dc33e89565..3ad2c18fd01c 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -1582,19 +1582,19 @@ bool Bitmap::ImplScaleConvolution(
}
bool bResult(true);
- sal_uInt32 nMirrorFlags(BMP_MIRROR_NONE);
+ BmpMirrorFlags nMirrorFlags(BmpMirrorFlags::NONE);
bool bMirrorAfter(false);
if(bMirror)
{
if(bMirrorHor)
{
- nMirrorFlags |= BMP_MIRROR_HORZ;
+ nMirrorFlags |= BmpMirrorFlags::Horizontal;
}
if(bMirrorVer)
{
- nMirrorFlags |= BMP_MIRROR_VERT;
+ nMirrorFlags |= BmpMirrorFlags::Vertical;
}
const sal_uInt32 nStartSize(nWidth * nHeight);