summaryrefslogtreecommitdiff
path: root/scripting/source/provider/ActiveMSPList.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-19 19:43:57 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-19 19:43:57 +0100
commitc33f4c624b22d2b41718e126d8124b37ea9ccf33 (patch)
treeb1fe711d8ef6e558cb07e63d4839ddad982ad097 /scripting/source/provider/ActiveMSPList.cxx
parent60fec7754d70f0527d6ae80455b4ca876b7d451b (diff)
TL_CONSTASCII_USTRINGPARAM in libs core 15
Diffstat (limited to 'scripting/source/provider/ActiveMSPList.cxx')
-rw-r--r--scripting/source/provider/ActiveMSPList.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx
index c60e81a590ca..226951ff9fbd 100644
--- a/scripting/source/provider/ActiveMSPList.cxx
+++ b/scripting/source/provider/ActiveMSPList.cxx
@@ -58,9 +58,9 @@ namespace func_provider
ActiveMSPList::ActiveMSPList( const Reference< XComponentContext > & xContext ) : m_xContext( xContext )
{
- userDirString = ::rtl::OUString::createFromAscii("user");
- shareDirString = ::rtl::OUString::createFromAscii("share");
- bundledDirString = ::rtl::OUString::createFromAscii("bundled");
+ userDirString = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("user"));
+ shareDirString = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("share"));
+ bundledDirString = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("bundled"));
}
ActiveMSPList::~ActiveMSPList()
@@ -70,7 +70,7 @@ ActiveMSPList::~ActiveMSPList()
Reference< provider::XScriptProvider >
ActiveMSPList::createNewMSP( const uno::Any& context )
{
- ::rtl::OUString serviceName = ::rtl::OUString::createFromAscii("com.sun.star.script.provider.MasterScriptProvider");
+ ::rtl::OUString serviceName(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.script.provider.MasterScriptProvider"));
Sequence< Any > args( &context, 1 );
Reference< provider::XScriptProvider > msp(
@@ -297,7 +297,7 @@ ActiveMSPList::createNonDocMSPs()
return;
}
// do creation of user and share MSPs here
- ::rtl::OUString serviceName = ::rtl::OUString::createFromAscii("com.sun.star.script.provider.MasterScriptProvider");
+ ::rtl::OUString serviceName(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.script.provider.MasterScriptProvider"));
Sequence< Any > args(1);
args[ 0 ] <<= userDirString;