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 3e76e0a5c5e5..01657ddf30db 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -1549,11 +1549,11 @@ void Converter::convertDateTime(
if (nYear < 10) {
i_rBuffer.append(zero);
}
- i_rBuffer.append(nYear).append(dash);
+ i_rBuffer.append( OUString::number(nYear) + OUStringChar(dash) );
if( i_rDateTime.Month < 10 ) {
i_rBuffer.append(zero);
}
- i_rBuffer.append( static_cast<sal_Int32>(i_rDateTime.Month) ).append(dash);
+ i_rBuffer.append( OUString::number(i_rDateTime.Month) + OUStringChar(dash) );
if( i_rDateTime.Day < 10 ) {
i_rBuffer.append(zero);
}