Explicit rtl::OUString ctors no longer needed
Change-Id: Iedad8f705ee54aa1663ef2735a7e847fdd4bd5f8
This commit is contained in:
parent
687256fcb2
commit
eb0e7f6258
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue