summaryrefslogtreecommitdiff
path: root/starmath/inc/node.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/inc/node.hxx')
-rw-r--r--starmath/inc/node.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index f7b5115859b2..78167251c563 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -563,7 +563,7 @@ protected:
{
xub_Unicode cChar = GetToken().cMathChar;
if ((xub_Unicode) '\0' != cChar)
- SetText( cChar );
+ SetText(rtl::OUString(cChar));
}
public:
@@ -640,7 +640,7 @@ public:
SmErrorNode(SmParseError /*eError*/, const SmToken &rNodeToken)
: SmMathSymbolNode(NERROR, rNodeToken)
{
- SetText((xub_Unicode) MS_ERROR);
+ SetText(rtl::OUString(MS_ERROR));
}
virtual void Prepare(const SmFormat &rFormat, const SmDocShell &rDocShell);