diff options
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 8 | ||||
-rw-r--r-- | sax/source/tools/converter.cxx | 2 | ||||
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 8 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.cxx | 8 |
4 files changed, 13 insertions, 13 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; diff --git a/scaddins/source/datefunc/datefunc.cxx b/scaddins/source/datefunc/datefunc.cxx index 37941045a751..8f016d6f23dc 100644 --- a/scaddins/source/datefunc/datefunc.cxx +++ b/scaddins/source/datefunc/datefunc.cxx @@ -336,15 +336,15 @@ OUString ScaDateAddIn::GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrIndex OUString ScaDateAddIn::getImplementationName_Static() { - return OUString(RTL_CONSTASCII_USTRINGPARAM( MY_IMPLNAME )); + return OUString( MY_IMPLNAME ); } uno::Sequence< OUString > ScaDateAddIn::getSupportedServiceNames_Static() { uno::Sequence< OUString > aRet( 2 ); OUString* pArray = aRet.getArray(); - pArray[0] = OUString(RTL_CONSTASCII_USTRINGPARAM( ADDIN_SERVICE )); - pArray[1] = OUString(RTL_CONSTASCII_USTRINGPARAM( MY_SERVICE )); + pArray[0] = OUString( ADDIN_SERVICE ); + pArray[1] = OUString( MY_SERVICE ); return aRet; } @@ -353,7 +353,7 @@ uno::Sequence< OUString > ScaDateAddIn::getSupportedServiceNames_Static() OUString SAL_CALL ScaDateAddIn::getServiceName() throw( uno::RuntimeException ) { // name of specific AddIn service - return OUString(RTL_CONSTASCII_USTRINGPARAM( MY_SERVICE )); + return OUString( MY_SERVICE ); } // XServiceInfo diff --git a/scaddins/source/pricing/pricing.cxx b/scaddins/source/pricing/pricing.cxx index cc1a30cc2073..48f37d7934b3 100644 --- a/scaddins/source/pricing/pricing.cxx +++ b/scaddins/source/pricing/pricing.cxx @@ -340,15 +340,15 @@ OUString ScaPricingAddIn::GetFuncDescrStr( sal_uInt16 nResId, sal_uInt16 nStrInd OUString ScaPricingAddIn::getImplementationName_Static() { - return OUString(RTL_CONSTASCII_USTRINGPARAM( MY_IMPLNAME )); + return OUString( MY_IMPLNAME ); } uno::Sequence< OUString > ScaPricingAddIn::getSupportedServiceNames_Static() { uno::Sequence< OUString > aRet( 2 ); OUString* pArray = aRet.getArray(); - pArray[0] = OUString(RTL_CONSTASCII_USTRINGPARAM( ADDIN_SERVICE )); - pArray[1] = OUString(RTL_CONSTASCII_USTRINGPARAM( MY_SERVICE )); + pArray[0] = OUString( ADDIN_SERVICE ); + pArray[1] = OUString( MY_SERVICE ); return aRet; } @@ -357,7 +357,7 @@ uno::Sequence< OUString > ScaPricingAddIn::getSupportedServiceNames_Static() OUString SAL_CALL ScaPricingAddIn::getServiceName() throw( uno::RuntimeException ) { // name of specific AddIn service - return OUString(RTL_CONSTASCII_USTRINGPARAM( MY_SERVICE )); + return OUString( MY_SERVICE ); } // XServiceInfo |