summaryrefslogtreecommitdiff
path: root/unodevtools/source/unodevtools/typemanager.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-12 14:53:20 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-03-12 21:02:26 +0100
commit4b2890453b2a9a99da3d690e6e70bffd711b6810 (patch)
tree3e5671f34f4311418eeb86da4dd29beded96a39b /unodevtools/source/unodevtools/typemanager.cxx
parent413fe6c65a8dfbb5549da200f4523ef2347e11f8 (diff)
Removed RTL_CONSTASCII_STRINGPARAM in unodevtools
Change-Id: I41ea9fe6fcac6cba0e12cd570b9971998717f401
Diffstat (limited to 'unodevtools/source/unodevtools/typemanager.cxx')
-rw-r--r--unodevtools/source/unodevtools/typemanager.cxx25
1 files changed, 10 insertions, 15 deletions
diff --git a/unodevtools/source/unodevtools/typemanager.cxx b/unodevtools/source/unodevtools/typemanager.cxx
index 017c265a2c85..c25bcac9964c 100644
--- a/unodevtools/source/unodevtools/typemanager.cxx
+++ b/unodevtools/source/unodevtools/typemanager.cxx
@@ -91,19 +91,18 @@ sal_Bool UnoTypeManager::init(
defaultBootstrap_InitialComponentContext();
if ( !xContext.is() ) {
- OUString msg(RTL_CONSTASCII_USTRINGPARAM(
- "internal UNO problem, can't create initial UNO component context"));
+ OUString msg(
+ "internal UNO problem, can't create initial UNO component context");
throw RuntimeException( msg, Reference< XInterface >());
}
Any a = xContext->getValueByName(
- OUString(RTL_CONSTASCII_USTRINGPARAM(
- "/singletons/com.sun.star.reflection.theTypeDescriptionManager")));
+ OUString(
+ "/singletons/com.sun.star.reflection.theTypeDescriptionManager"));
a >>= m_pImpl->m_tdmgr;
if ( !m_pImpl->m_tdmgr.is() ) {
- OUString msg(RTL_CONSTASCII_USTRINGPARAM(
- "internal UNO problem, can't get TypeDescriptionManager"));
+ OUString msg("internal UNO problem, can't get TypeDescriptionManager");
throw RuntimeException( msg, Reference< XInterface >());
}
@@ -112,8 +111,7 @@ sal_Bool UnoTypeManager::init(
Reference< XMultiComponentFactory > xServiceManager(
xContext->getServiceManager() );
if ( !xServiceManager.is() ) {
- OUString msg(RTL_CONSTASCII_USTRINGPARAM(
- "internal UNO problem, can't get ServiceManager"));
+ OUString msg("internal UNO problem, can't get ServiceManager");
throw RuntimeException( msg, Reference< XInterface >());
}
@@ -125,8 +123,7 @@ sal_Bool UnoTypeManager::init(
{
Reference< XSimpleRegistry > xReg(
xServiceManager->createInstanceWithContext(
- OUString(RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.registry.SimpleRegistry")),
+ OUString("com.sun.star.registry.SimpleRegistry"),
xContext), UNO_QUERY);
xReg->open(convertToFileUrl(
OUStringToOString(*iter, RTL_TEXTENCODING_UTF8)),
@@ -138,14 +135,12 @@ sal_Bool UnoTypeManager::init(
Reference< XHierarchicalNameAccess > xTDProvider(
xServiceManager->createInstanceWithArgumentsAndContext(
- OUString(RTL_CONSTASCII_USTRINGPARAM(
- "com.sun.star.reflection.TypeDescriptionProvider")),
+ OUString("com.sun.star.reflection.TypeDescriptionProvider"),
seqArgs, xContext),
UNO_QUERY);
if ( !xTDProvider.is() ) {
- OUString msg(RTL_CONSTASCII_USTRINGPARAM(
- "internal UNO problem, can't create local"
- " type description provider"));
+ OUString msg("internal UNO problem, can't create local"
+ " type description provider");
throw RuntimeException( msg, Reference< XInterface >());
}