summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpnumericfmt.cxx
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 /lotuswordpro/source/filter/lwpnumericfmt.cxx
parent285289275d1cf1769080a208b55be984cd269e1e (diff)
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'lotuswordpro/source/filter/lwpnumericfmt.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpnumericfmt.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/lotuswordpro/source/filter/lwpnumericfmt.cxx b/lotuswordpro/source/filter/lwpnumericfmt.cxx
index ea025d9ebe31..8c22e0bc2af2 100644
--- a/lotuswordpro/source/filter/lwpnumericfmt.cxx
+++ b/lotuswordpro/source/filter/lwpnumericfmt.cxx
@@ -304,14 +304,14 @@ void LwpNumericFormat::GetCurrencyStr(LwpNumericFormatSubset aNumber, String& aP
{
if (bNegtive)
{
- aPrefix = String::CreateFromAscii("(");
+ aPrefix = rtl::OUString("(");
}
if (!bPost)
{
aPrefix += aSymbol;
if (bShowSpace)
{
- aPrefix +=String::CreateFromAscii(" ");
+ aPrefix += rtl::OUString(" ");
}
}
}
@@ -322,14 +322,14 @@ void LwpNumericFormat::GetCurrencyStr(LwpNumericFormatSubset aNumber, String& aP
aSuffix = aSymbol;
if (bShowSpace)
{
- aSuffix.Insert(String::CreateFromAscii(" "),0);
+ aSuffix.Insert(rtl::OUString(" "),0);
}
}
if (bNegtive)
{
- aSuffix += String::CreateFromAscii(")");
+ aSuffix += rtl::OUString(")");
}
}
}
@@ -421,11 +421,11 @@ XFStyle* LwpNumericFormat::Convert()
{
if (cNegative.IsDefaultPrefix() && aNegPrefix.Len() == 0)
{
- aNegPrefix = String::CreateFromAscii("(");
+ aNegPrefix = rtl::OUString("(");
}
if (cNegative.IsDefaultSuffix() && aNegSuffix.Len() == 0)
{
- aNegSuffix = String::CreateFromAscii(")");
+ aNegSuffix = rtl::OUString(")");
}
}