diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-28 18:33:53 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-28 18:33:53 +0100 |
commit | 7692bfc268c57d6bcbc565179e5c63ffc0f6095d (patch) | |
tree | 8473aefdca37aa0d2021ab8124d6edfb74779deb /xmlsecurity/tools/standalone/mscsfit/certmngr.cxx | |
parent | 5078c9fcebb1e54efafbd69d17ece8746438c413 (diff) |
RTL_CONSTASCII_USTRINGPARAM in components 3
Diffstat (limited to 'xmlsecurity/tools/standalone/mscsfit/certmngr.cxx')
-rw-r--r-- | xmlsecurity/tools/standalone/mscsfit/certmngr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/tools/standalone/mscsfit/certmngr.cxx b/xmlsecurity/tools/standalone/mscsfit/certmngr.cxx index 2856967cbd26..fee83746faff 100644 --- a/xmlsecurity/tools/standalone/mscsfit/certmngr.cxx +++ b/xmlsecurity/tools/standalone/mscsfit/certmngr.cxx @@ -63,7 +63,7 @@ int SAL_CALL main( int argc, char **argv ) Reference< XMultiComponentFactory > xManager = NULL ; Reference< XComponentContext > xContext = NULL ; - xManager = serviceManager( xContext , OUString::createFromAscii( "local" ), OUString::createFromAscii( argv[1] ) ) ; + xManager = serviceManager( xContext , OUString(RTL_CONSTASCII_USTRINGPARAM("local")), OUString::createFromAscii( argv[1] ) ) ; OSL_ENSURE( xManager.is() , "ServicesManager - " "Cannot get service manager" ) ; @@ -71,7 +71,7 @@ int SAL_CALL main( int argc, char **argv ) //Create security environment //Build Security Environment Reference< XInterface > xsecenv = - xManager->createInstanceWithContext( OUString::createFromAscii("com.sun.star.xml.security.bridge.xmlsec.SecurityEnvironment_MSCryptImpl"), xContext ) ; + xManager->createInstanceWithContext( OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.xml.security.bridge.xmlsec.SecurityEnvironment_MSCryptImpl")), xContext ) ; OSL_ENSURE( xsecenv.is() , "Signer - " "Cannot get service instance of \"xsec.SecurityEnvironment\"" ) ; |