diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-04 19:34:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-01-09 09:08:35 +0200 |
commit | 278b400511a76a9be5e0afc0377a9c69823cc230 (patch) | |
tree | faf2573bf0f0e57817dcd8cac9f9b36989402710 /svx | |
parent | 5c5edaef89e953d260501678c3d62c47ad9763ac (diff) |
fdo#84938: convert POLY_OPTIMIZE_ #defines to 'enum class'
Change-Id: I163bd3f521473c5357c23c3ce4978f984be7b6fe
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/frmsel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx index 86772cefb6db..7de05065cdec 100644 --- a/svx/source/dialog/frmsel.cxx +++ b/svx/source/dialog/frmsel.cxx @@ -531,7 +531,7 @@ void FrameSelectorImpl::DrawBackground() tools::PolyPolygon aPPoly; for( FrameBorderCIter aIt( maEnabBorders ); aIt.Is(); ++aIt ) (*aIt)->MergeFocusToPolyPolygon( aPPoly ); - aPPoly.Optimize( POLY_OPTIMIZE_CLOSE ); + aPPoly.Optimize( PolyOptimizeFlags::CLOSE ); maVirDev.SetLineColor( maBackCol ); maVirDev.SetFillColor( maBackCol ); maVirDev.DrawPolyPolygon( aPPoly ); @@ -687,7 +687,7 @@ void FrameSelectorImpl::DrawAllTrackingRects() // no frame border selected -> draw tracking rectangle around entire control aPPoly.Insert( Polygon( Rectangle( maVirDevPos, maVirDev.GetOutputSizePixel() ) ) ); - aPPoly.Optimize( POLY_OPTIMIZE_CLOSE ); + aPPoly.Optimize( PolyOptimizeFlags::CLOSE ); for( sal_uInt16 nIdx = 0, nCount = aPPoly.Count(); nIdx < nCount; ++nIdx ) mrFrameSel.InvertTracking( aPPoly.GetObject( nIdx ), SHOWTRACK_SMALL | SHOWTRACK_WINDOW ); } |