summaryrefslogtreecommitdiff
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
parent563a9b7ab3cc1ed0166d1bfe0568124a2fd9b80e (diff)
Remove RTL_CONSTASCII_(U)STRINGPARAM in scaddins/sax
Change-Id: Ic4f9bef02cc4bdc74b9a6d81e3317e10b9c79bd4
-rw-r--r--sax/source/fastparser/fastparser.cxx8
-rw-r--r--sax/source/tools/converter.cxx2
-rw-r--r--scaddins/source/datefunc/datefunc.cxx8
-rw-r--r--scaddins/source/pricing/pricing.cxx8
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