summaryrefslogtreecommitdiffstats
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, 5 insertions, 1 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 3db53a948155..fe84e556898c 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2447,7 +2447,11 @@ void SmMathSymbolNode::Arrange(OutputDevice &rDev, const SmFormat &rFormat)
void SmMathSymbolNode::CreateTextFromNode(OUString &rText)
{
OUString sStr;
- MathType::LookupChar(GetToken().cMathChar, sStr, 3);
+ sal_Unicode cChar = GetToken().cMathChar;
+ if (cChar == MS_INT && GetScaleMode() == SCALE_HEIGHT)
+ sStr = "intd ";
+ else
+ MathType::LookupChar(cChar, sStr, 3);
rText += sStr;
}