diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-04-01 22:08:13 +0200 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-04-01 22:12:22 +0200 |
commit | f32677968ad4e79338608e6f93f601b1bdfcd868 (patch) | |
tree | b301406043187082b66b05a39ea612d595a4d4fe /scaddins | |
parent | 563a9b7ab3cc1ed0166d1bfe0568124a2fd9b80e (diff) |
Remove RTL_CONSTASCII_(U)STRINGPARAM in scaddins/sax
Change-Id: Ic4f9bef02cc4bdc74b9a6d81e3317e10b9c79bd4
Diffstat (limited to 'scaddins')
-rw-r--r-- | scaddins/source/datefunc/datefunc.cxx | 8 | ||||
-rw-r--r-- | scaddins/source/pricing/pricing.cxx | 8 |
2 files changed, 8 insertions, 8 deletions
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 |