summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-09-14 11:48:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-15 07:58:45 +0200
commit54e608c6605ca2bcfd8dfdbe674d5110a18d2c5c (patch)
tree0ac2df642d3499930f90b7b073cfcb52f44e6eaf /cui
parent8d0fbad1e08368bd0b6ff76798c779ac7e747cfc (diff)
convert SvxCellVerJustify to scoped enum
Change-Id: I9d1cdb4ddfee43b7a0990624d7d16e06679343c4 Reviewed-on: https://gerrit.libreoffice.org/42276 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/align.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/tabpages/align.cxx b/cui/source/tabpages/align.cxx
index 34b33726acea..02c769659804 100644
--- a/cui/source/tabpages/align.cxx
+++ b/cui/source/tabpages/align.cxx
@@ -72,13 +72,13 @@ typedef sfx::ListBoxConnection< VerJustItemWrapper > VerJustConnection;
static const VerJustConnection::MapEntryType s_pVerJustMap[] =
{
- { ALIGNDLG_VERALIGN_STD, SVX_VER_JUSTIFY_STANDARD },
- { ALIGNDLG_VERALIGN_TOP, SVX_VER_JUSTIFY_TOP },
- { ALIGNDLG_VERALIGN_MID, SVX_VER_JUSTIFY_CENTER },
- { ALIGNDLG_VERALIGN_BOTTOM, SVX_VER_JUSTIFY_BOTTOM },
- { ALIGNDLG_VERALIGN_BLOCK, SVX_VER_JUSTIFY_BLOCK },
- { ALIGNDLG_VERALIGN_DISTRIBUTED, SVX_VER_JUSTIFY_BLOCK },
- { WRAPPER_LISTBOX_ENTRY_NOTFOUND, SVX_VER_JUSTIFY_STANDARD }
+ { ALIGNDLG_VERALIGN_STD, SvxCellVerJustify::Standard },
+ { ALIGNDLG_VERALIGN_TOP, SvxCellVerJustify::Top },
+ { ALIGNDLG_VERALIGN_MID, SvxCellVerJustify::Center },
+ { ALIGNDLG_VERALIGN_BOTTOM, SvxCellVerJustify::Bottom },
+ { ALIGNDLG_VERALIGN_BLOCK, SvxCellVerJustify::Block },
+ { ALIGNDLG_VERALIGN_DISTRIBUTED, SvxCellVerJustify::Block },
+ { WRAPPER_LISTBOX_ENTRY_NOTFOUND, SvxCellVerJustify::Standard }
};
// cell rotate mode -----------------------------------------------------------
@@ -315,7 +315,7 @@ void AlignmentTabPage::Reset( const SfxItemSet* rCoreAttrs )
lcl_MaybeResetAlignToDistro<SvxCellVerJustify, SvxCellVerJustify>(
*m_pLbVerAlign, ALIGNDLG_VERALIGN_DISTRIBUTED, *rCoreAttrs,
GetWhich(SID_ATTR_ALIGN_VER_JUSTIFY), GetWhich(SID_ATTR_ALIGN_VER_JUSTIFY_METHOD),
- SVX_VER_JUSTIFY_BLOCK);
+ SvxCellVerJustify::Block);
UpdateEnableControls();
}