diff options
Diffstat (limited to 'odk/examples/cpp/counter/counter.cxx')
-rw-r--r-- | odk/examples/cpp/counter/counter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/cpp/counter/counter.cxx b/odk/examples/cpp/counter/counter.cxx index f8b32f28e56b..572d9c1be730 100644 --- a/odk/examples/cpp/counter/counter.cxx +++ b/odk/examples/cpp/counter/counter.cxx @@ -117,7 +117,7 @@ public: OUString SAL_CALL MyCounterImpl::getImplementationName( ) throw(RuntimeException) { - return OUString( RTL_CONSTASCII_USTRINGPARAM(IMPLNAME) ); + return OUString( IMPLNAME ); } //************************************************************************* @@ -142,7 +142,7 @@ Sequence<OUString> SAL_CALL MyCounterImpl::getSupportedServiceNames( ) //************************************************************************* Sequence<OUString> SAL_CALL MyCounterImpl::getSupportedServiceNames_Static( ) { - OUString aName( RTL_CONSTASCII_USTRINGPARAM(SERVICENAME) ); + OUString aName( SERVICENAME ); return Sequence< OUString >( &aName, 1 ); } @@ -216,7 +216,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(const sal_C { Reference< XSingleServiceFactory > xFactory( createSingleFactory( reinterpret_cast< XMultiServiceFactory * >( pServiceManager ), - OUString( RTL_CONSTASCII_USTRINGPARAM(IMPLNAME) ), + OUString( IMPLNAME ), MyCounterImpl_create, MyCounterImpl::getSupportedServiceNames_Static() ) ); |