summaryrefslogtreecommitdiff
path: root/svx/source/dialog/_contdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-20 14:15:36 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-22 17:51:13 +0000
commiteaba47bce44a373116b0583dc293c8c3238b7bea (patch)
tree3af5cb6724fcc1e2e61fd154eb616bc0a2f1ddd1 /svx/source/dialog/_contdlg.cxx
parentc093af75202f6c9d8e6ae7d8e933b82da6f2c11b (diff)
Convert XOUTBMP to scoped enum
Change-Id: I8d10cdc78ca73d86bdc9aa08fca591f6eb85eb9e Reviewed-on: https://gerrit.libreoffice.org/25196 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/dialog/_contdlg.cxx')
-rw-r--r--svx/source/dialog/_contdlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index aacf82b31d82..096511471c29 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -106,7 +106,7 @@ tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic,
const sal_uIntPtr nFlags )
{
Bitmap aBmp;
- sal_uIntPtr nContourFlags = XOUTBMP_CONTOUR_HORZ;
+ XOutFlags nContourFlags = XOutFlags::ContourHorz;
if ( rGraphic.GetType() == GRAPHIC_BITMAP )
{
@@ -145,7 +145,7 @@ tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic,
else
{
aBmp = rGraphic.GetBitmap();
- nContourFlags |= XOUTBMP_CONTOUR_EDGEDETECT;
+ nContourFlags |= XOutFlags::ContourEdgeDetect;
}
}
else if( rGraphic.GetType() != GRAPHIC_NONE )
@@ -171,7 +171,7 @@ tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic,
aBmp = pVDev->GetBitmap( aPt, aSizePix );
}
- nContourFlags |= XOUTBMP_CONTOUR_EDGEDETECT;
+ nContourFlags |= XOutFlags::ContourEdgeDetect;
}
aBmp.SetPrefSize( rGraphic.GetPrefSize() );