diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2016-05-14 15:23:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-18 10:13:57 +0000 |
commit | 21a68e1745dec1f4c4fd5b90d3a58000ed11c324 (patch) | |
tree | 2d2d1eac6a3394db8b066fdb142b32245667af04 /chart2 | |
parent | 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (diff) |
convert TAB to scoped enum
and rename the SID constant to something more meaningful
Change-Id: Ic07888936df3d537158fd2fb671b0df11350d676
Reviewed-on: https://gerrit.libreoffice.org/24986
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx b/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx index 8d15fbc8147a..1f9b6b50aec3 100644 --- a/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx +++ b/chart2/source/controller/dialogs/dlg_ShapeParagraph.cxx @@ -57,8 +57,9 @@ void ShapeParagraphDialog::PageCreated( sal_uInt16 nId, SfxTabPage& rPage ) if (nId == m_nTabPageId) { SfxAllItemSet aSet( *( GetInputSetImpl()->GetPool() ) ); - aSet.Put( SfxUInt16Item( SID_SVXTABULATORTABPAGE_CONTROLFLAGS, - ( TABTYPE_ALL &~TABTYPE_LEFT ) | ( TABFILL_ALL &~TABFILL_NONE ) ) ); + TabulatorDisableFlags nFlags(( TabulatorDisableFlags::TypeMask &~TabulatorDisableFlags::TypeLeft ) | + ( TabulatorDisableFlags::FillMask &~TabulatorDisableFlags::FillNone )); + aSet.Put( SfxUInt16Item( SID_SVXTABULATORTABPAGE_DISABLEFLAGS, (sal_uInt16)nFlags) ); rPage.PageCreated( aSet ); } } |