diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-09-25 21:17:31 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-01 16:36:47 +0400 |
commit | 773667483e3991b078eca03568681e2f3e8f4ec9 (patch) | |
tree | 6ba163fcd96a56dff789094987f3cba646a9680d /starmath/source | |
parent | 37a2fa5d5a58628d317a2305965863dfe50f140e (diff) |
String -> OUString
Change-Id: I94eafe01604b30d53d9021458a0a9c57dfc1144a
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/cursor.cxx | 4 | ||||
-rw-r--r-- | starmath/source/parse.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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; |