diff options
Diffstat (limited to 'svx/source/dialog/frmsel.cxx')
-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 ); } |