diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-08 12:39:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-09 07:25:29 +0000 |
commit | 9b95093950436caebd45a06008929427869844fa (patch) | |
tree | b5d08ffb144c208b5b6135258e0ca0a48b28acf7 /cui | |
parent | 967d0089a16ad236a0fb9f5bba7fafd2327745a9 (diff) |
convert SvxCellHorJustify to scoped enum
Change-Id: I0dd88b5bf9e1aededfa2d94b6b2d3d26694fff33
Reviewed-on: https://gerrit.libreoffice.org/34968
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/align.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx index 4a46c381469b..cae1c68abd6d 100644 --- a/cui/source/tabpages/align.cxx +++ b/cui/source/tabpages/align.cxx @@ -54,14 +54,14 @@ typedef sfx::ListBoxConnection< HorJustItemWrapper > HorJustConnection; static const HorJustConnection::MapEntryType s_pHorJustMap[] = { - { ALIGNDLG_HORALIGN_STD, SVX_HOR_JUSTIFY_STANDARD }, - { ALIGNDLG_HORALIGN_LEFT, SVX_HOR_JUSTIFY_LEFT }, - { ALIGNDLG_HORALIGN_CENTER, SVX_HOR_JUSTIFY_CENTER }, - { ALIGNDLG_HORALIGN_RIGHT, SVX_HOR_JUSTIFY_RIGHT }, - { ALIGNDLG_HORALIGN_BLOCK, SVX_HOR_JUSTIFY_BLOCK }, - { ALIGNDLG_HORALIGN_FILL, SVX_HOR_JUSTIFY_REPEAT }, - { ALIGNDLG_HORALIGN_DISTRIBUTED, SVX_HOR_JUSTIFY_BLOCK }, - { WRAPPER_LISTBOX_ENTRY_NOTFOUND, SVX_HOR_JUSTIFY_STANDARD } + { ALIGNDLG_HORALIGN_STD, SvxCellHorJustify::Standard }, + { ALIGNDLG_HORALIGN_LEFT, SvxCellHorJustify::Left }, + { ALIGNDLG_HORALIGN_CENTER, SvxCellHorJustify::Center }, + { ALIGNDLG_HORALIGN_RIGHT, SvxCellHorJustify::Right }, + { ALIGNDLG_HORALIGN_BLOCK, SvxCellHorJustify::Block }, + { ALIGNDLG_HORALIGN_FILL, SvxCellHorJustify::Repeat }, + { ALIGNDLG_HORALIGN_DISTRIBUTED, SvxCellHorJustify::Block }, + { WRAPPER_LISTBOX_ENTRY_NOTFOUND, SvxCellHorJustify::Standard } }; // vertical alignment --------------------------------------------------------- @@ -309,7 +309,7 @@ void AlignmentTabPage::Reset( const SfxItemSet* rCoreAttrs ) lcl_MaybeResetAlignToDistro<SvxCellHorJustify, SvxCellHorJustify>( *m_pLbHorAlign, ALIGNDLG_HORALIGN_DISTRIBUTED, *rCoreAttrs, GetWhich(SID_ATTR_ALIGN_HOR_JUSTIFY), GetWhich(SID_ATTR_ALIGN_HOR_JUSTIFY_METHOD), - SVX_HOR_JUSTIFY_BLOCK); + SvxCellHorJustify::Block); lcl_MaybeResetAlignToDistro<SvxCellVerJustify, SvxCellVerJustify>( *m_pLbVerAlign, ALIGNDLG_VERALIGN_DISTRIBUTED, *rCoreAttrs, |