summaryrefslogtreecommitdiff
path: root/starmath/source/wordexportbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/wordexportbase.cxx')
-rw-r--r--starmath/source/wordexportbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/wordexportbase.cxx b/starmath/source/wordexportbase.cxx
index 3181697edf9f..1e720b4b6f1c 100644
--- a/starmath/source/wordexportbase.cxx
+++ b/starmath/source/wordexportbase.cxx
@@ -77,7 +77,7 @@ void SmWordExportBase::HandleNode( const SmNode* pNode, int nLevel )
const SmTextNode* pText= static_cast< const SmTextNode* >( pNode );
//if the token str and the result text are the same then this
//is to be seen as text, else assume its a mathchar
- if (pText->GetText() == pText->GetToken().aText)
+ if (pText->GetText() == OUString(pText->GetToken().aText))
HandleText(pText,nLevel);
else
HandleMath(pText,nLevel);