summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-23 13:13:25 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:39 +0200
commitd478a1cd6426aba6a502963862ace5a9f6182450 (patch)
tree08fde85c22d342a6b6be17f431fe6fb8383391f7 /sd/source/ui/view/drviews1.cxx
parentaa82339bb6bbf38b2e56083115f9f485713c545e (diff)
convert SVXRULER_SUPPORT constants to scoped enum
Change-Id: Id6c2571b5a060530437509a8dc203dc1a346f773
Diffstat (limited to 'sd/source/ui/view/drviews1.cxx')
-rw-r--r--sd/source/ui/view/drviews1.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index 62b0b46b5c1a..b5674ce6cfdf 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -482,14 +482,14 @@ SvxRuler* DrawViewShell::CreateHRuler (::sd::Window* pWin, bool bIsFirst)
{
Ruler* pRuler;
WinBits aWBits;
- sal_uInt16 nFlags = SVXRULER_SUPPORT_OBJECT;
+ SvxRulerSupportFlags nFlags = SvxRulerSupportFlags::OBJECT;
if ( bIsFirst )
{
aWBits = WB_HSCROLL | WB_3DLOOK | WB_BORDER | WB_EXTRAFIELD;
- nFlags |= ( SVXRULER_SUPPORT_SET_NULLOFFSET |
- SVXRULER_SUPPORT_TABS |
- SVXRULER_SUPPORT_PARAGRAPH_MARGINS ); // Neu
+ nFlags |= ( SvxRulerSupportFlags::SET_NULLOFFSET |
+ SvxRulerSupportFlags::TABS |
+ SvxRulerSupportFlags::PARAGRAPH_MARGINS ); // Neu
}
else
aWBits = WB_HSCROLL | WB_3DLOOK | WB_BORDER;
@@ -524,7 +524,7 @@ SvxRuler* DrawViewShell::CreateVRuler(::sd::Window* pWin)
{
Ruler* pRuler;
WinBits aWBits = WB_VSCROLL | WB_3DLOOK | WB_BORDER;
- sal_uInt16 nFlags = SVXRULER_SUPPORT_OBJECT;
+ SvxRulerSupportFlags nFlags = SvxRulerSupportFlags::OBJECT;
pRuler = VclPtr<Ruler>::Create(*this, GetParentWindow(), pWin, nFlags,
GetViewFrame()->GetBindings(), aWBits);