summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2021-09-03 02:19:33 +1000
committerTomaž Vajngerl <quikee@gmail.com>2021-09-28 08:20:32 +0200
commit4dd6af856d574ad66ebb4b822a36ba70af9945e2 (patch)
treec67ddea9c5551e069cb75fe0901cdcfa3f00b054 /vcl/workben
parent1734e97222324c137ecd084ad2464abdff2698d1 (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/workben')
-rw-r--r--vcl/workben/vcldemo.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 27a91e91973f..61c2d650fbb7 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -979,7 +979,7 @@ public:
for (int i = 0; i < 2; ++i)
{
sal_uInt16 nHue = 0;
- rDev.Push(PushFlags::CLIPREGION);
+ rDev.Push(vcl::PushFlags::CLIPREGION);
tools::Rectangle aOuter = aRegions[i];
tools::Rectangle aInner = aOuter;
while (aInner.GetWidth() > nLimits[i] && aInner.GetHeight() > nLimits[i])
@@ -999,7 +999,7 @@ public:
std::vector<tools::Rectangle> aPieces(DemoRenderer::partition(aOuter, 2, 2));
for (int j = 0; j < std::min(aOuter.GetWidth(), aOuter.GetHeight())/5; ++j)
{
- rDev.Push(PushFlags::CLIPREGION);
+ rDev.Push(vcl::PushFlags::CLIPREGION);
vcl::Region aClipRegion;
for (int i = 0; i < 4; ++i)
@@ -1025,7 +1025,7 @@ public:
bool bDone = false;
for (int j = 0; !bDone; ++j)
{
- rDev.Push(PushFlags::CLIPREGION);
+ rDev.Push(vcl::PushFlags::CLIPREGION);
for (int i = 0; i < 4; ++i)
{
@@ -1979,7 +1979,7 @@ public:
Wallpaper aWallpaper(COL_GREEN);
- rRenderContext.Push(PushFlags::CLIPREGION);
+ rRenderContext.Push(vcl::PushFlags::CLIPREGION);
rRenderContext.IntersectClipRegion(aClip);
rRenderContext.DrawWallpaper(aWholeSize, aWallpaper);
rRenderContext.Pop();