diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-22 15:14:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-29 10:41:38 +0200 |
commit | ab1b535fb049f4b6354561e60eb027b4cc691a6c (patch) | |
tree | 291a885c0b57cde97bbb8daafba1ca70ca07cce6 /sw/source/ui/fmtui | |
parent | 83ab72efe7dbb9047e89ba2775228b2d81f96bc9 (diff) |
convert SVX_ flags to scoped enum
Change-Id: I6ca73a459597f06fc301a12d6556775a77a7c4c7
Diffstat (limited to 'sw/source/ui/fmtui')
-rw-r--r-- | sw/source/ui/fmtui/tmpdlg.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/fmtui/tmpdlg.cxx b/sw/source/ui/fmtui/tmpdlg.cxx index d8d1aa37b320..d8276160da0c 100644 --- a/sw/source/ui/fmtui/tmpdlg.cxx +++ b/sw/source/ui/fmtui/tmpdlg.cxx @@ -479,14 +479,14 @@ void SwTemplateDlg::PageCreated( sal_uInt16 nId, SfxTabPage &rPage ) // for the SvxBrushItem (see RID_SVXPAGE_BACKGROUND) else if (nId == m_nBackgroundId) { - sal_Int32 nFlagType = 0; + SvxBackgroundTabFlags nFlagType = SvxBackgroundTabFlags::NONE; if( SFX_STYLE_FAMILY_PARA == nType ) - nFlagType |= SVX_SHOW_PARACTL; + nFlagType |= SvxBackgroundTabFlags::SHOW_PARACTL; if( SFX_STYLE_FAMILY_CHAR != nType ) - nFlagType |= SVX_SHOW_SELECTOR; + nFlagType |= SvxBackgroundTabFlags::SHOW_SELECTOR; if( SFX_STYLE_FAMILY_FRAME == nType ) - nFlagType |= SVX_ENABLE_TRANSPARENCY; - aSet.Put (SfxUInt32Item(SID_FLAG_TYPE, nFlagType)); + nFlagType |= SvxBackgroundTabFlags::ENABLE_TRANSPARENCY; + aSet.Put (SfxUInt32Item(SID_FLAG_TYPE, static_cast<sal_uInt32>(nFlagType))); rPage.PageCreated(aSet); } else if (nId == m_nConditionId) |