diff options
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r-- | starmath/source/edit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index fb9cee21447e..d06c1dbf4bab 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -801,7 +801,7 @@ void SmEditWindow::SelPrevMark() sal_Int32 nPara = eSelection.nStartPara; sal_Int32 nMax = eSelection.nStartPos; OUString aText(pEditEngine->GetText(nPara)); - const OUString aMark("<?>"); + static const OUStringLiteral aMark(u"<?>"); sal_Int32 nPos; while ( (nPos = aText.lastIndexOf(aMark, nMax)) < 0 ) |