diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-05-05 12:07:11 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-05-05 13:55:37 +0200 |
commit | 6e4cba99bb35e6697b94309eedd1a08ebea2dc68 (patch) | |
tree | a5a9b88663d8e42a92bd34ce2064d9a84ded5332 /starmath/source/node.cxx | |
parent | c7e4f2b310d10fb3b3ae3b8ebdf02f9d2ad79b7a (diff) |
starmath: Convert SmHorAlign to scoped enum
Change-Id: Ie75749ebbea2ec74e2f16b1c42a55fbcd71845c3
Reviewed-on: https://gerrit.libreoffice.org/37270
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r-- | starmath/source/node.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 3327d8c57b80..efc13f4483ee 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -226,9 +226,9 @@ void SmNode::Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell) mnAttributes = FontAttribute::None; switch (rFormat.GetHorAlign()) - { case AlignLeft: meRectHorAlign = RectHorAlign::Left; break; - case AlignCenter: meRectHorAlign = RectHorAlign::Center; break; - case AlignRight: meRectHorAlign = RectHorAlign::Right; break; + { case SmHorAlign::Left: meRectHorAlign = RectHorAlign::Left; break; + case SmHorAlign::Center: meRectHorAlign = RectHorAlign::Center; break; + case SmHorAlign::Right: meRectHorAlign = RectHorAlign::Right; break; } GetFont() = rFormat.GetFont(FNT_MATH); |