From 773667483e3991b078eca03568681e2f3e8f4ec9 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Tue, 25 Sep 2012 21:17:31 +0400 Subject: String -> OUString Change-Id: I94eafe01604b30d53d9021458a0a9c57dfc1144a --- starmath/source/cursor.cxx | 4 ++-- starmath/source/parse.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'starmath/source') diff --git a/starmath/source/cursor.cxx b/starmath/source/cursor.cxx index 9edb83ea1e2f..489c339f4d49 100644 --- a/starmath/source/cursor.cxx +++ b/starmath/source/cursor.cxx @@ -1156,12 +1156,12 @@ void SmCursor::InsertCommand(sal_uInt16 nCommand) { InsertLimit(CSUP, true); break; default: - InsertCommandText(SmResId(nCommand)); + InsertCommandText(SM_RESSTR(nCommand)); break; } } -void SmCursor::InsertCommandText(XubString aCommandText) { +void SmCursor::InsertCommandText(OUString aCommandText) { //Parse the the sub expression SmNode* pSubExpr = SmParser().ParseExpression(aCommandText); diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 827ff16251d5..51a60c2afbf8 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2452,7 +2452,7 @@ SmNode *SmParser::Parse(const String &rBuffer) return result; } -SmNode *SmParser::ParseExpression(const String &rBuffer) +SmNode *SmParser::ParseExpression(const OUString &rBuffer) { m_aBufferString = convertLineEnd(rBuffer, LINEEND_LF); m_nBufferIndex = 0; -- cgit