diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-22 14:59:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-29 10:41:38 +0200 |
commit | 83ab72efe7dbb9047e89ba2775228b2d81f96bc9 (patch) | |
tree | cfa3f2a661775d285b57369b63ee369a3aa7c881 /sw/source/ui/fmtui | |
parent | 0779e5a6a7bd4388638c337718ff3f934b64bd3a (diff) |
convert SW_BORDER_MODE constants to scoped enum
Change-Id: I7b2e03a5cacf5d2a706ba8e2d3b276fcb3f7e88b
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index 11dccd075cc9..d8d1aa37b320 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -594,11 +594,11 @@ void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) { if( SFX_STYLE_FAMILY_PARA == nType ) { - aSet.Put (SfxUInt16Item(SID_SWMODE_TYPE,SW_BORDER_MODE_PARA)); + aSet.Put (SfxUInt16Item(SID_SWMODE_TYPE,static_cast<sal_uInt16>(SwBorderModes::PARA))); } else if( SFX_STYLE_FAMILY_FRAME == nType ) { - aSet.Put (SfxUInt16Item(SID_SWMODE_TYPE,SW_BORDER_MODE_FRAME)); + aSet.Put (SfxUInt16Item(SID_SWMODE_TYPE,static_cast<sal_uInt16>(SwBorderModes::FRAME))); } rPage.PageCreated(aSet); } |