summaryrefslogtreecommitdiff
path: root/starmath/source/node.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/node.cxx')
-rw-r--r--starmath/source/node.cxx6
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);