summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-02 16:02:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-03 21:24:35 +0100
commitbccf34c19ae022b67565e212fa4ec0d5213947de (patch)
tree73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /formula
parent285289275d1cf1769080a208b55be984cd269e1e (diff)
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'formula')
-rw-r--r--formula/source/core/api/FormulaCompiler.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx
index b817c453471c..e2e30597def1 100644
--- a/formula/source/core/api/FormulaCompiler.cxx
+++ b/formula/source/core/api/FormulaCompiler.cxx
@@ -183,12 +183,12 @@ bool OpCodeList::getOpCodeString( String& rStr, sal_uInt16 nOp )
{
if (meSepType == COMMA_BASE)
{
- rStr = String::CreateFromAscii(",");
+ rStr = rtl::OUString(",");
return true;
}
else if (meSepType == SEMICOLON_BASE)
{
- rStr = String::CreateFromAscii(";");
+ rStr = rtl::OUString(";");
return true;
}
}
@@ -197,12 +197,12 @@ bool OpCodeList::getOpCodeString( String& rStr, sal_uInt16 nOp )
{
if (meSepType == COMMA_BASE)
{
- rStr = String::CreateFromAscii(",");
+ rStr = rtl::OUString(",");
return true;
}
else if (meSepType == SEMICOLON_BASE)
{
- rStr = String::CreateFromAscii(";");
+ rStr = rtl::OUString(";");
return true;
}
}
@@ -211,12 +211,12 @@ bool OpCodeList::getOpCodeString( String& rStr, sal_uInt16 nOp )
{
if (meSepType == COMMA_BASE)
{
- rStr = String::CreateFromAscii(";");
+ rStr = rtl::OUString(";");
return true;
}
else if (meSepType == SEMICOLON_BASE)
{
- rStr = String::CreateFromAscii("|");
+ rStr = rtl::OUString("|");
return true;
}
}