diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2021-09-03 02:19:33 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-09-28 08:20:32 +0200 |
commit | 4dd6af856d574ad66ebb4b822a36ba70af9945e2 (patch) | |
tree | c67ddea9c5551e069cb75fe0901cdcfa3f00b054 /svx/source/dialog/measctrl.cxx | |
parent | 1734e97222324c137ecd084ad2464abdff2698d1 (diff) |
vcl: rename OutDevState to Stack
I have moved the header file to include/vcl/rendercontext as this will
eventually be part of the RenderContext split from OutputDevice.
State and associated enums have also been moved to the vcl namespace. I
have also moved ComplexTextLayoutFlags into the vcl::text namespace.
Change-Id: I0abbf560e75b45a272854b267e948c240cd69091
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121524
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'svx/source/dialog/measctrl.cxx')
-rw-r--r-- | svx/source/dialog/measctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/measctrl.cxx b/svx/source/dialog/measctrl.cxx index c3fbee97ef3c..ac1303db20ee 100644 --- a/svx/source/dialog/measctrl.cxx +++ b/svx/source/dialog/measctrl.cxx @@ -51,7 +51,7 @@ void SvxXMeasurePreview::SetDrawingArea(weld::DrawingArea* pDrawingArea) void SvxXMeasurePreview::ResizeImpl(const Size& rSize) { OutputDevice& rRefDevice = GetDrawingArea()->get_ref_device(); - rRefDevice.Push(PushFlags::MAPMODE); + rRefDevice.Push(vcl::PushFlags::MAPMODE); rRefDevice.SetMapMode(m_aMapMode); @@ -78,7 +78,7 @@ void SvxXMeasurePreview::Paint(vcl::RenderContext& rRenderContext, const tools:: rRenderContext.SetBackground(rRenderContext.GetSettings().GetStyleSettings().GetWindowColor()); rRenderContext.Erase(); - rRenderContext.Push(PushFlags::MAPMODE); + rRenderContext.Push(vcl::PushFlags::MAPMODE); rRenderContext.SetMapMode(m_aMapMode); bool bHighContrast = Application::GetSettings().GetStyleSettings().GetHighContrastMode(); @@ -132,7 +132,7 @@ bool SvxXMeasurePreview::MouseButtonDown(const MouseEvent& rMEvt) m_aMapMode.SetScaleY(aYFrac); OutputDevice& rRefDevice = GetDrawingArea()->get_ref_device(); - rRefDevice.Push(PushFlags::MAPMODE); + rRefDevice.Push(vcl::PushFlags::MAPMODE); rRefDevice.SetMapMode(m_aMapMode); Size aOutSize(rRefDevice.PixelToLogic(GetOutputSizePixel())); rRefDevice.Pop(); |