summaryrefslogtreecommitdiff
path: root/cui/source/customize/selector.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval@ilapharm.com>2010-11-23 22:10:46 +0100
committerDavid Tardon <dtardon@redhat.com>2010-11-24 07:24:35 +0100
commit95e7e542438384975a95e7309e23a07a0986fcc7 (patch)
treea47e9b075025a469e9839e6498b17ea7b92e4c86 /cui/source/customize/selector.cxx
parentc6e0eee73c1be7f3cb7d33f568246db9d40d7ed5 (diff)
RTL patch for cui
Diffstat (limited to 'cui/source/customize/selector.cxx')
-rw-r--r--cui/source/customize/selector.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx
index 4954c4685c43..b3fd2e69dc95 100644
--- a/cui/source/customize/selector.cxx
+++ b/cui/source/customize/selector.cxx
@@ -476,8 +476,8 @@ void SvxConfigGroupListBox_Impl::Init()
Reference< ::com::sun::star::frame::XModuleManager >
xModuleManager( xMCF->createInstanceWithContext(
- OUString::createFromAscii(
- "com.sun.star.frame.ModuleManager" ),
+ OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.frame.ModuleManager" )),
xContext ),
UNO_QUERY );
@@ -489,8 +489,8 @@ void SvxConfigGroupListBox_Impl::Init()
Reference< container::XNameAccess > xNameAccess(
xMCF->createInstanceWithContext(
- OUString::createFromAscii(
- "com.sun.star.frame.UICommandDescription" ),
+ OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.frame.UICommandDescription" )),
xContext ),
UNO_QUERY );
@@ -501,8 +501,8 @@ void SvxConfigGroupListBox_Impl::Init()
Reference< container::XNameAccess > xAllCategories(
xMCF->createInstanceWithContext(
- OUString::createFromAscii(
- "com.sun.star.ui.UICategoryDescription" ),
+ OUString(RTL_CONSTASCII_USTRINGPARAM(
+ "com.sun.star.ui.UICategoryDescription" )),
xContext ),
UNO_QUERY );
@@ -584,7 +584,7 @@ void SvxConfigGroupListBox_Impl::Init()
::comphelper::getProcessServiceFactory(), UNO_QUERY_THROW );
xCtx.set( _xProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "DefaultContext" ))), UNO_QUERY_THROW );
Reference< browse::XBrowseNodeFactory > xFac( xCtx->getValueByName(
- OUString::createFromAscii( "/singletons/com.sun.star.script.browse.theBrowseNodeFactory") ), UNO_QUERY_THROW );
+ OUString(RTL_CONSTASCII_USTRINGPARAM( "/singletons/com.sun.star.script.browse.theBrowseNodeFactory")) ), UNO_QUERY_THROW );
rootNode.set( xFac->createView( browse::BrowseNodeFactoryViewTypes::MACROSELECTOR ) );
}
catch( const Exception& )
@@ -641,7 +641,7 @@ Image SvxConfigGroupListBox_Impl::GetImage(
xModuleManager(
xCtx->getServiceManager()
->createInstanceWithContext(
- OUString::createFromAscii("com.sun.star.frame.ModuleManager"),
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.ModuleManager")),
xCtx ),
UNO_QUERY_THROW );
Reference<container::XNameAccess> xModuleConfig(
@@ -653,7 +653,7 @@ Image SvxConfigGroupListBox_Impl::GetImage(
Any aAny = xModuleConfig->getByName(appModule);
if( sal_True != ( aAny >>= moduleDescr ) )
{
- throw RuntimeException(OUString::createFromAscii("SFTreeListBox::Init: failed to get PropertyValue"), Reference< XInterface >());
+ throw RuntimeException(OUString(RTL_CONSTASCII_USTRINGPARAM("SFTreeListBox::Init: failed to get PropertyValue")), Reference< XInterface >());
}
beans::PropertyValue const * pmoduleDescr =
moduleDescr.getConstArray();
@@ -697,7 +697,7 @@ SvxConfigGroupListBox_Impl::getDocumentModel(
xCtx->getServiceManager();
Reference< frame::XDesktop > desktop (
mcf->createInstanceWithContext(
- OUString::createFromAscii("com.sun.star.frame.Desktop"), xCtx ),
+ OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.frame.Desktop")), xCtx ),
UNO_QUERY );
Reference< container::XEnumerationAccess > componentsAccess =