summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-04-26 18:27:43 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-04-27 02:35:16 +0200
commit437105b940d997d742bd5e31cfa0ce4b949b29f2 (patch)
treec2bab71a63cd0646a8ff20b295f0fe683612a68e /starmath/inc
parent597a2f5d5bd37443262b0775b8439bc3502aef1b (diff)
starmath: Convert SmScaleMode to scoped enum
Change-Id: I88024e9cc1147cc44a087315968c3462ab5baf73 Reviewed-on: https://gerrit.libreoffice.org/36978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/node.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 52487fcef0ae..dd0a4c663216 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -77,7 +77,12 @@ class SmStructureNode;
typedef std::vector< SmNode * > SmNodeArray;
-enum SmScaleMode { SCALE_NONE, SCALE_WIDTH, SCALE_HEIGHT };
+enum class SmScaleMode
+{
+ None,
+ Width,
+ Height
+};
enum class SmNodeType
{