diff options
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/chrdlg/drpcps.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/table/autoformatpreview.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/chrdlg/drpcps.cxx b/sw/source/ui/chrdlg/drpcps.cxx index 4a251c8eb98e..13993d1b20f8 100644 --- a/sw/source/ui/chrdlg/drpcps.cxx +++ b/sw/source/ui/chrdlg/drpcps.cxx @@ -116,7 +116,7 @@ static void calcFontHeightAnyAscent(vcl::RenderContext& rWin, vcl::Font const & { if ( !_nHeight ) { - rWin.Push(PushFlags::FONT); + rWin.Push(vcl::PushFlags::FONT); rWin.SetFont(_rFont); FontMetric aMetric(rWin.GetFontMetric()); _nHeight = aMetric.GetLineHeight(); diff --git a/sw/source/ui/table/autoformatpreview.cxx b/sw/source/ui/table/autoformatpreview.cxx index 907e02f2fa63..df18f3d5dbd9 100644 --- a/sw/source/ui/table/autoformatpreview.cxx +++ b/sw/source/ui/table/autoformatpreview.cxx @@ -321,7 +321,7 @@ void AutoFormatPreview::DrawBackground(vcl::RenderContext& rRenderContext) SvxBrushItem aBrushItem( maCurrentData.GetBoxFormat(GetFormatIndex(nCol, nRow)).GetBackground()); - rRenderContext.Push(PushFlags::LINECOLOR | PushFlags::FILLCOLOR); + rRenderContext.Push(vcl::PushFlags::LINECOLOR | vcl::PushFlags::FILLCOLOR); rRenderContext.SetLineColor(); rRenderContext.SetFillColor(aBrushItem.GetColor()); const basegfx::B2DRange aCellRange(maArray.GetCellRange(nCol, nRow, true)); @@ -428,7 +428,7 @@ void AutoFormatPreview::NotifyChange(const SwTableAutoFormat& rNewData) void AutoFormatPreview::Paint(vcl::RenderContext& rRenderContext, const tools::Rectangle&) { - rRenderContext.Push(PushFlags::ALL); + rRenderContext.Push(vcl::PushFlags::ALL); DrawModeFlags nOldDrawMode = rRenderContext.GetDrawMode(); if (rRenderContext.GetSettings().GetStyleSettings().GetHighContrastMode()) |