summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-02-12 14:24:56 +0900
committerDavid Tardon <dtardon@redhat.com>2016-02-16 08:43:54 +0000
commit66b8bc9399a9b27b344a0fefdbcd61736176572b (patch)
tree3156f12f7bd6f155cea495953346535b2a63f5f9 /starmath/inc
parentc44a445031a12f6c6e51fcff620d8a3cc94a8c7b (diff)
starmath: Convert RectCopyMBL to scoped enum
Change-Id: I44e4f3086f642adccdff8dcf82298e5f4e9cb282 Reviewed-on: https://gerrit.libreoffice.org/22305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/rect.hxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index b3cf94961b16..3ef8ec483c92 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -80,12 +80,13 @@ enum class RectVerAlign
};
// different methods of copying baselines and mid's in 'ExtendBy' function
-enum RectCopyMBL
-{ RCP_THIS, // keep baseline of current object even if it has none
- RCP_ARG, // as above but for the argument
- RCP_NONE, // result will have no baseline
- RCP_XOR // if current object has a baseline keep it else copy
- // the arguments baseline (even if it has none)
+enum class RectCopyMBL
+{
+ This, // keep baseline of current object even if it has none
+ Arg, // as above but for the argument
+ None, // result will have no baseline
+ Xor // if current object has a baseline keep it else copy
+ // the arguments baseline (even if it has none)
};