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 /vcl/source/gdi/gdimetafiletools.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 'vcl/source/gdi/gdimetafiletools.cxx')
-rw-r--r-- | vcl/source/gdi/gdimetafiletools.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/gdi/gdimetafiletools.cxx b/vcl/source/gdi/gdimetafiletools.cxx index 9b3e26afb331..982cb0d7fbdc 100644 --- a/vcl/source/gdi/gdimetafiletools.cxx +++ b/vcl/source/gdi/gdimetafiletools.cxx @@ -273,7 +273,7 @@ void clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource) GDIMetaFile aTarget; bool bChanged(false); std::vector< basegfx::B2DPolyPolygon > aClips; - std::vector< PushFlags > aPushFlags; + std::vector< vcl::PushFlags > aPushFlags; std::vector< MapMode > aMapModes; // start with empty region @@ -368,16 +368,16 @@ void clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource) case MetaActionType::PUSH : { const MetaPushAction* pA = static_cast< const MetaPushAction* >(pAction); - const PushFlags nFlags(pA->GetFlags()); + const vcl::PushFlags nFlags(pA->GetFlags()); aPushFlags.push_back(nFlags); - if(nFlags & PushFlags::CLIPREGION) + if(nFlags & vcl::PushFlags::CLIPREGION) { aClips.push_back(aClips.back()); } - if(nFlags & PushFlags::MAPMODE) + if(nFlags & vcl::PushFlags::MAPMODE) { aMapModes.push_back(aMapModes.back()); } @@ -389,10 +389,10 @@ void clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource) if(!aPushFlags.empty()) { - const PushFlags nFlags(aPushFlags.back()); + const vcl::PushFlags nFlags(aPushFlags.back()); aPushFlags.pop_back(); - if(nFlags & PushFlags::CLIPREGION) + if(nFlags & vcl::PushFlags::CLIPREGION) { if(aClips.size() > 1) { @@ -404,7 +404,7 @@ void clipMetafileContentAgainstOwnRegions(GDIMetaFile& rSource) } } - if(nFlags & PushFlags::MAPMODE) + if(nFlags & vcl::PushFlags::MAPMODE) { if(aMapModes.size() > 1) { |