diff options
Diffstat (limited to 'svx/source/dialog')
-rw-r--r-- | svx/source/dialog/framelink.cxx | 6 | ||||
-rw-r--r-- | svx/source/dialog/framelinkarray.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx index 190858bdc9fe..fec46f81bc2c 100644 --- a/svx/source/dialog/framelink.cxx +++ b/svx/source/dialog/framelink.cxx @@ -746,7 +746,7 @@ vcl::Region lclCreatePolygon( const Point& rP1, const Point& rP2, const Point& r */ void lclSetColorToOutDev( OutputDevice& rDev, const Color& rColor, const Color* pForceColor ) { - rDev.Push( PUSH_LINECOLOR | PUSH_FILLCOLOR ); + rDev.Push( PushFlags::LINECOLOR | PushFlags::FILLCOLOR ); rDev.SetLineColor( pForceColor ? *pForceColor : rColor ); rDev.SetFillColor( pForceColor ? *pForceColor : rColor ); } @@ -958,7 +958,7 @@ void lclPushDiagClipRect( OutputDevice& rDev, const Rectangle& rRect, const Diag if( (aClipRect.GetWidth() < 1) ||(aClipRect.GetHeight() < 1) ) aClipRect.SetEmpty(); - rDev.Push( PUSH_CLIPREGION ); + rDev.Push( PushFlags::CLIPREGION ); rDev.IntersectClipRegion( aClipRect ); } @@ -1005,7 +1005,7 @@ void lclPushCrossingClipRegion( OutputDevice& rDev, const Rectangle& rRect, bool aRPoints.maBeg, aRPoints.maEnd, rRect.BottomLeft(), rRect.BottomRight(), rRect.TopRight() ) ); } - rDev.Push( PUSH_CLIPREGION ); + rDev.Push( PushFlags::CLIPREGION ); rDev.IntersectClipRegion( aClipReg ); } diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx index 9ad80ccc53b0..6a3371941812 100644 --- a/svx/source/dialog/framelinkarray.cxx +++ b/svx/source/dialog/framelinkarray.cxx @@ -1126,7 +1126,7 @@ void Array::DrawRange( OutputDevice& rDev, // *** diagonal frame borders *** // set clipping region to clip partly visible merged cells - rDev.Push( PUSH_CLIPREGION ); + rDev.Push( PushFlags::CLIPREGION ); rDev.IntersectClipRegion( GetClipRangeRectangle() ); for( nRow = nFirstRow; nRow <= nLastRow; ++nRow ) { |