summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-08 12:39:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-09 07:25:29 +0000
commit9b95093950436caebd45a06008929427869844fa (patch)
treeb5d08ffb144c208b5b6135258e0ca0a48b28acf7 /include
parent967d0089a16ad236a0fb9f5bba7fafd2327745a9 (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 'include')
-rw-r--r--include/editeng/justifyitem.hxx2
-rw-r--r--include/editeng/svxenum.hxx14
2 files changed, 8 insertions, 8 deletions
diff --git a/include/editeng/justifyitem.hxx b/include/editeng/justifyitem.hxx
index 1a384c2b76b6..3f5633c33788 100644
--- a/include/editeng/justifyitem.hxx
+++ b/include/editeng/justifyitem.hxx
@@ -33,7 +33,7 @@ public:
explicit SvxHorJustifyItem( const sal_uInt16 nId );
SvxHorJustifyItem(
- const SvxCellHorJustify eJustify /*= SVX_HOR_JUSTIFY_STANDARD*/,
+ const SvxCellHorJustify eJustify /*= SvxCellHorJustify::Standard*/,
const sal_uInt16 nId );
virtual bool GetPresentation( SfxItemPresentation ePres,
diff --git a/include/editeng/svxenum.hxx b/include/editeng/svxenum.hxx
index cfca47018ea3..5cf21d807a02 100644
--- a/include/editeng/svxenum.hxx
+++ b/include/editeng/svxenum.hxx
@@ -96,14 +96,14 @@ enum class SvxBreak
End
};
-enum SvxCellHorJustify
+enum class SvxCellHorJustify
{
- SVX_HOR_JUSTIFY_STANDARD,
- SVX_HOR_JUSTIFY_LEFT,
- SVX_HOR_JUSTIFY_CENTER,
- SVX_HOR_JUSTIFY_RIGHT,
- SVX_HOR_JUSTIFY_BLOCK,
- SVX_HOR_JUSTIFY_REPEAT
+ Standard,
+ Left,
+ Center,
+ Right,
+ Block,
+ Repeat
};
enum class SvxCellJustifyMethod