summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/converter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index ef043abd4d7d..85f228955367 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -1129,7 +1129,7 @@ void Converter::convertDuration(OUStringBuffer& rBuffer,
ostr.fill('0');
ostr.width(9);
ostr << rDuration.NanoSeconds;
- rBuffer.append(OUString::createFromAscii(ostr.str().c_str()));
+ rBuffer.appendAscii(ostr.str().c_str());
}
rBuffer.append('S');
}
@@ -1510,7 +1510,7 @@ static void convertTime(
ostr.fill('0');
ostr.width(9);
ostr << i_rDateTime.NanoSeconds;
- i_rBuffer.append(OUString::createFromAscii(ostr.str().c_str()));
+ i_rBuffer.appendAscii(ostr.str().c_str());
}
}