summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-02-05 18:21:49 +0900
committerMichael Stahl <mstahl@redhat.com>2016-02-08 20:47:26 +0000
commitdea2e507c14df21f0cd45095c5ab8095cac14de2 (patch)
treee04ffcd4689154348af50ab3493e8f0124b9d8db /starmath/inc
parent35fe6dfd2e9ff62a2a8634fc2cfe9e574661b545 (diff)
starmath: Convert RectVerAlign to scoped enum
Change-Id: I6c9a7e1527cf2083f567397eb41db7ae3437c25e Reviewed-on: https://gerrit.libreoffice.org/22141 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/rect.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index 979f22186cdf..172af4a01279 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -67,9 +67,17 @@ enum class RectHorAlign
Center,
Right
};
-enum RectVerAlign
-{ RVA_TOP, RVA_MID, RVA_BOTTOM, RVA_BASELINE, RVA_CENTERY,
- RVA_ATTRIBUT_HI, RVA_ATTRIBUT_MID, RVA_ATTRIBUT_LO
+
+enum class RectVerAlign
+{
+ Top,
+ Mid,
+ Bottom,
+ Baseline,
+ CenterY,
+ AttributeHi,
+ AttributeMid,
+ AttributeLo
};
// different methods of copying baselines and mid's in 'ExtendBy' function