Explicit rtl::OUString ctors no longer needed

Change-Id: Iedad8f705ee54aa1663ef2735a7e847fdd4bd5f8
This commit is contained in:
Stephan Bergmann 2012-09-03 11:04:55 +02:00
parent 687256fcb2
commit eb0e7f6258

View file

@ -1758,7 +1758,8 @@ String AssistentDlgImpl::GetUiTextForCommand (const ::rtl::OUString& sCommandURL
break;
Reference<container::XNameAccess> xNameAccess ( ui::UICommandDescription::create(xContext) );
Any a = xNameAccess->getByName( rtl::OUString("com.sun.star.presentation.PresentationDocument") );
Any a = xNameAccess->getByName(
"com.sun.star.presentation.PresentationDocument");
a >>= xUICommandLabels;
if ( ! xUICommandLabels.is())
break;
@ -1814,7 +1815,8 @@ Image AssistentDlgImpl::GetUiIconForCommand (const ::rtl::OUString& sCommandURL)
ui::ModuleUIConfigurationManagerSupplier::create(xContext));
Reference<com::sun::star::ui::XUIConfigurationManager> xManager (
xSupplier->getUIConfigurationManager( rtl::OUString("com.sun.star.presentation.PresentationDocument") ));
xSupplier->getUIConfigurationManager(
"com.sun.star.presentation.PresentationDocument"));
if ( ! xManager.is())
break;