summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-04-01 22:08:13 +0200
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-04-01 22:12:22 +0200
commitf32677968ad4e79338608e6f93f601b1bdfcd868 (patch)
treeb301406043187082b66b05a39ea612d595a4d4fe /sax
parent563a9b7ab3cc1ed0166d1bfe0568124a2fd9b80e (diff)
Remove RTL_CONSTASCII_(U)STRINGPARAM in scaddins/sax
Change-Id: Ic4f9bef02cc4bdc74b9a6d81e3317e10b9c79bd4
Diffstat (limited to 'sax')
-rw-r--r--sax/source/fastparser/fastparser.cxx8
-rw-r--r--sax/source/tools/converter.cxx2
2 files changed, 5 insertions, 5 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 5cc207d4a240..601905b80e26 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -631,11 +631,11 @@ OUString lclGetErrorMessage( XML_Error xmlE, const OUString& sSystemId, sal_Int3
OUStringBuffer aBuffer( sal_Unicode( '[' ) );
aBuffer.append( sSystemId );
- aBuffer.appendAscii( RTL_CONSTASCII_STRINGPARAM( " line " ) );
+ aBuffer.append( " line " );
aBuffer.append( nLine );
- aBuffer.appendAscii( RTL_CONSTASCII_STRINGPARAM( "]: " ) );
- aBuffer.appendAscii( pMessage );
- aBuffer.appendAscii( RTL_CONSTASCII_STRINGPARAM( " error" ) );
+ aBuffer.append( "]: " );
+ aBuffer.append( pMessage );
+ aBuffer.append( " error" );
return aBuffer.makeStringAndClear();
}
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index fae1280c3e69..af36a027f5fb 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -650,7 +650,7 @@ void Converter::convertDuration(::rtl::OUStringBuffer& rBuffer,
fValue = - fValue;
}
- rBuffer.appendAscii(RTL_CONSTASCII_STRINGPARAM( "PT" ));
+ rBuffer.append( "PT" );
fValue *= 24;
double fHoursValue = ::rtl::math::approxFloor (fValue);
fValue -= fHoursValue;