From eaba47bce44a373116b0583dc293c8c3238b7bea Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 20 May 2016 14:15:36 +0200 Subject: Convert XOUTBMP to scoped enum Change-Id: I8d10cdc78ca73d86bdc9aa08fca591f6eb85eb9e Reviewed-on: https://gerrit.libreoffice.org/25196 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/dialog/_contdlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svx/source/dialog/_contdlg.cxx') 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() ); -- cgit v1.2.3