summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-01-28 12:02:59 +0900
committerMichael Stahl <mstahl@redhat.com>2016-02-04 13:04:09 +0000
commit4f0398587f2854e41a8b544f5e2a00e3680122b6 (patch)
treeaf5516ab9a9a437f5715d33921dd894fafbd9796 /starmath/inc
parent8dbdf538fea36748b5297299943e22b88ba62522 (diff)
starmath: Convert RectHorAlign to scoped enum
Change-Id: Ia5b43083e9675ef2664e5147e80237a7d947e138 Reviewed-on: https://gerrit.libreoffice.org/21859 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/rect.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index c7dcaf0c8574..979f22186cdf 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -60,8 +60,12 @@ enum class RectPos
Bottom,
Attribute
};
-enum RectHorAlign
-{ RHA_LEFT, RHA_CENTER, RHA_RIGHT
+
+enum class RectHorAlign
+{
+ Left,
+ Center,
+ Right
};
enum RectVerAlign
{ RVA_TOP, RVA_MID, RVA_BOTTOM, RVA_BASELINE, RVA_CENTERY,