summaryrefslogtreecommitdiff
path: root/svtools/source/toolpanel/toolpaneldrawer.cxx
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 /svtools/source/toolpanel/toolpaneldrawer.cxx
parent7a0af37989d1f1b508a61f28e785c5b1f27d58af (diff)
convert TEXT_DRAW constants to scoped enum
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
Diffstat (limited to 'svtools/source/toolpanel/toolpaneldrawer.cxx')
-rw-r--r--svtools/source/toolpanel/toolpaneldrawer.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svtools/source/toolpanel/toolpaneldrawer.cxx b/svtools/source/toolpanel/toolpaneldrawer.cxx
index 0ce9851ea5e7..85ce017612d8 100644
--- a/svtools/source/toolpanel/toolpaneldrawer.cxx
+++ b/svtools/source/toolpanel/toolpaneldrawer.cxx
@@ -159,16 +159,16 @@ namespace svt
}
- sal_uInt16 ToolPanelDrawer::impl_getTextStyle() const
+ DrawTextFlags ToolPanelDrawer::impl_getTextStyle() const
{
- const sal_uInt16 nBasicStyle = TEXT_DRAW_LEFT
- | TEXT_DRAW_TOP
- | TEXT_DRAW_WORDBREAK;
+ const DrawTextFlags nBasicStyle = DrawTextFlags::Left
+ | DrawTextFlags::Top
+ | DrawTextFlags::WordBreak;
if ( IsEnabled() )
return nBasicStyle;
- return nBasicStyle | TEXT_DRAW_DISABLE;
+ return nBasicStyle | DrawTextFlags::Disable;
}