diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-24 20:47:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-24 20:47:49 +0100 |
commit | cb000a71d4bbdd89e8f89a47e7fd14cb24f6ffdf (patch) | |
tree | f717b70015fe7a9558cda977bfc8a52bd6bb18b7 /stoc/source/inspect | |
parent | 9007f72383ceb7e1689c80ceed7a19f0f13c4878 (diff) |
micro opts
Diffstat (limited to 'stoc/source/inspect')
-rw-r--r-- | stoc/source/inspect/introspection.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index 8d60587cb080..cf0b40c974ca 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -1928,14 +1928,14 @@ Sequence< OUString > ImplIntrospection::getSupportedServiceNames(void) throw() // Helper XServiceInfo OUString ImplIntrospection::getImplementationName_Static( ) { - return OUString::createFromAscii( IMPLEMENTATION_NAME ); + return OUString(RTL_CONSTASCII_USTRINGPARAM(IMPLEMENTATION_NAME)); } // ORegistryServiceManager_Static Sequence< OUString > ImplIntrospection::getSupportedServiceNames_Static(void) throw() { Sequence< OUString > aSNS( 1 ); - aSNS.getArray()[0] = OUString::createFromAscii( SERVICE_NAME ); + aSNS.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM(SERVICE_NAME)); return aSNS; } @@ -3074,7 +3074,7 @@ sal_Bool SAL_CALL component_writeInfo( void *, void * pRegistryKey ) { Reference< XRegistryKey > xNewKey( reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey( - OUString::createFromAscii( "/" IMPLEMENTATION_NAME "/UNO/SERVICES" ) ) ); + OUString(RTL_CONSTASCII_USTRINGPARAM("/" IMPLEMENTATION_NAME "/UNO/SERVICES" )) ) ); const Sequence< OUString > & rSNL = stoc_inspect::ImplIntrospection::getSupportedServiceNames_Static(); |