Kaydet (Commit) 4b6016af authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:stringconstant: OUStringBuffer: appendAscii -> append

Change-Id: I752d7e9ddc11139e454135b88476341277f7f01d
üst 9f075246
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment