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/table | |
parent | 83ab72efe7dbb9047e89ba2775228b2d81f96bc9 (diff) |
convert SVX_ flags to scoped enum
Change-Id: I6ca73a459597f06fc301a12d6556775a77a7c4c7
Diffstat (limited to 'sw/source/ui/table')
-rw-r--r-- | sw/source/ui/table/tabledlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index c76dc0fe477c..a90e84ce9eb7 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -1260,8 +1260,8 @@ void SwTableTabDlg::PageCreated(sal_uInt16 nId, SfxTabPage& rPage) SfxAllItemSet aSet(*(GetInputSetImpl()->GetPool())); if (nId == m_nBackgroundId) { - sal_Int32 nFlagType = SVX_SHOW_TBLCTL | SVX_SHOW_SELECTOR; - aSet.Put (SfxUInt32Item(SID_FLAG_TYPE, nFlagType)); + SvxBackgroundTabFlags nFlagType = SvxBackgroundTabFlags::SHOW_TBLCTL | SvxBackgroundTabFlags::SHOW_SELECTOR; + aSet.Put (SfxUInt32Item(SID_FLAG_TYPE, static_cast<sal_uInt32>(nFlagType))); rPage.PageCreated(aSet); } else if (nId == m_nBorderId) |