diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-04-26 18:27:43 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-04-27 02:35:16 +0200 |
commit | 437105b940d997d742bd5e31cfa0ce4b949b29f2 (patch) | |
tree | c2bab71a63cd0646a8ff20b295f0fe683612a68e /starmath/inc/node.hxx | |
parent | 597a2f5d5bd37443262b0775b8439bc3502aef1b (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/node.hxx')
-rw-r--r-- | starmath/inc/node.hxx | 7 |
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 { |