summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-18 13:36:39 +0200
committerNoel Grandin <noel@peralex.com>2015-05-20 09:52:08 +0200
commit25a47c5cd54c73e754de988bde8ec8a202d27717 (patch)
tree479c07ba52f718f03770fba60121d2a0ef3a3b08 /vcl/workben
parent7a0af37989d1f1b508a61f28e785c5b1f27d58af (diff)
convert TEXT_DRAW constants to scoped enum
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/svptest.cxx2
-rw-r--r--vcl/workben/vcldemo.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/vcl/workben/svptest.cxx b/vcl/workben/svptest.cxx
index fc44e8062aa5..2ebea2dc44c3 100644
--- a/vcl/workben/svptest.cxx
+++ b/vcl/workben/svptest.cxx
@@ -269,7 +269,7 @@ void MyWin::Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect)
rRenderContext.DrawText(Rectangle(Point((aPaperSize.Width() - 4000) / 2, 2000),
Size(aPaperSize.Width() - 2100 - nMaxWidth, aPaperSize.Height() - 4000)),
aPrintText.makeStringAndClear(),
- TEXT_DRAW_MULTILINE);
+ DrawTextFlags::MultiLine);
}
rRenderContext.SetFillColor();
diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index 3bb2ccf99ac9..bbd135b4842a 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -1545,8 +1545,8 @@ class DemoPopup : public FloatingWindow
SetTextColor(COL_BLACK);
SetTextAlign(ALIGN_TOP);
DrawText(aTextRect, "This is a standalone help text test",
- TEXT_DRAW_MULTILINE|TEXT_DRAW_WORDBREAK|
- TEXT_DRAW_LEFT|TEXT_DRAW_TOP);
+ DrawTextFlags::MultiLine|DrawTextFlags::WordBreak|
+ DrawTextFlags::Left|DrawTextFlags::Top);
SetLineColor(COL_BLACK);
SetFillColor();