summaryrefslogtreecommitdiff
path: root/sax/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-31 08:02:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-31 08:02:34 +0200
commit4b6016af7c659017f0bad18da1cb38233b248f4e (patch)
tree4f3ffafb833a7a617c0e2c746e1ba32e1feff32c /sax/source
parent9f075246c59225dbd9ec7f700de8bbba491cb458 (diff)
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
Change-Id: I752d7e9ddc11139e454135b88476341277f7f01d
Diffstat (limited to 'sax/source')
-rw-r--r--sax/source/tools/converter.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 1ed1d8725ee8..a223c4c53c1a 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -2492,7 +2492,7 @@ bool Converter::convertAny(OUStringBuffer& rsValue,
sal_Int32 nTempValue = 0;
if (rValue >>= nTempValue)
{
- rsType.appendAscii("integer");
+ rsType.append("integer");
bConverted = true;
::sax::Converter::convertNumber(rsValue, nTempValue);
}
@@ -2504,7 +2504,7 @@ bool Converter::convertAny(OUStringBuffer& rsValue,
bool bTempValue = false;
if (rValue >>= bTempValue)
{
- rsType.appendAscii("boolean");
+ rsType.append("boolean");
bConverted = true;
::sax::Converter::convertBool(rsValue, bTempValue);
}
@@ -2517,7 +2517,7 @@ bool Converter::convertAny(OUStringBuffer& rsValue,
double fTempValue = 0.0;
if (rValue >>= fTempValue)
{
- rsType.appendAscii("float");
+ rsType.append("float");
bConverted = true;
::sax::Converter::convertDouble(rsValue, fTempValue);
}
@@ -2529,7 +2529,7 @@ bool Converter::convertAny(OUStringBuffer& rsValue,
OUString sTempValue;
if (rValue >>= sTempValue)
{
- rsType.appendAscii("string");
+ rsType.append("string");
bConverted = true;
rsValue.append(sTempValue);
}
@@ -2544,7 +2544,7 @@ bool Converter::convertAny(OUStringBuffer& rsValue,
if (rValue >>= aDate)
{
- rsType.appendAscii("date");
+ rsType.append("date");
bConverted = true;
com::sun::star::util::DateTime aTempValue;
aTempValue.Day = aDate.Day;
@@ -2559,7 +2559,7 @@ bool Converter::convertAny(OUStringBuffer& rsValue,
else
if (rValue >>= aTime)
{
- rsType.appendAscii("time");
+ rsType.append("time");
bConverted = true;
com::sun::star::util::Duration aTempValue;
aTempValue.Days = 0;
@@ -2574,7 +2574,7 @@ bool Converter::convertAny(OUStringBuffer& rsValue,
else
if (rValue >>= aDateTime)
{
- rsType.appendAscii("date");
+ rsType.append("date");
bConverted = true;
::sax::Converter::convertDateTime(rsValue, aDateTime, 0);
}