summaryrefslogtreecommitdiff
path: root/framework/source/uielement/uicommanddescription.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/uicommanddescription.cxx')
-rw-r--r--framework/source/uielement/uicommanddescription.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx
index 0b8bad8ccdfa..ddbe692233c3 100644
--- a/framework/source/uielement/uicommanddescription.cxx
+++ b/framework/source/uielement/uicommanddescription.cxx
@@ -164,7 +164,7 @@ ConfigurationAccess_UICommand::ConfigurationAccess_UICommand( std::u16string_vie
OUString::Concat(CONFIGURATION_ROOT_ACCESS) + aModuleName + "/UserInterface/Commands"),
m_aConfigPopupAccess(
OUString::Concat(CONFIGURATION_ROOT_ACCESS) + aModuleName + "/UserInterface/Popups"),
- m_aPropProperties( "Properties" ),
+ m_aPropProperties( u"Properties"_ustr ),
m_xGenericUICommands( rGenericUICommands ),
m_xConfigProvider( theDefaultProvider::get( rxContext ) ),
m_bConfigAccessInitialized( false ),
@@ -311,12 +311,12 @@ void ConfigurationAccess_UICommand::impl_fill(const Reference< XNameAccess >& _x
CmdToInfoMap aCmdToInfo;
aCmdToInfo.bPopup = _bPopup;
- xNameAccess->getByName( "Label" ) >>= aCmdToInfo.aLabel;
- xNameAccess->getByName( "ContextLabel" ) >>= aCmdToInfo.aContextLabel;
- xNameAccess->getByName( "PopupLabel" ) >>= aCmdToInfo.aPopupLabel;
- xNameAccess->getByName( "TooltipLabel" ) >>= aCmdToInfo.aTooltipLabel;
- xNameAccess->getByName( "TargetURL" ) >>= aCmdToInfo.aTargetURL;
- xNameAccess->getByName( "IsExperimental" ) >>= aCmdToInfo.bIsExperimental;
+ xNameAccess->getByName( u"Label"_ustr ) >>= aCmdToInfo.aLabel;
+ xNameAccess->getByName( u"ContextLabel"_ustr ) >>= aCmdToInfo.aContextLabel;
+ xNameAccess->getByName( u"PopupLabel"_ustr ) >>= aCmdToInfo.aPopupLabel;
+ xNameAccess->getByName( u"TooltipLabel"_ustr ) >>= aCmdToInfo.aTooltipLabel;
+ xNameAccess->getByName( u"TargetURL"_ustr ) >>= aCmdToInfo.aTargetURL;
+ xNameAccess->getByName( u"IsExperimental"_ustr ) >>= aCmdToInfo.bIsExperimental;
xNameAccess->getByName( m_aPropProperties ) >>= aCmdToInfo.nProperties;
m_aCmdInfoCache.emplace( aNameSeq[i], aCmdToInfo );
@@ -484,7 +484,7 @@ void ConfigurationAccess_UICommand::initializeConfigAccess()
{"nodepath", Any(m_aConfigCmdAccess)}
}));
m_xConfigAccess.set( m_xConfigProvider->createInstanceWithArguments(
- "com.sun.star.configuration.ConfigurationAccess", aArgs ),UNO_QUERY );
+ u"com.sun.star.configuration.ConfigurationAccess"_ustr, aArgs ),UNO_QUERY );
if ( m_xConfigAccess.is() )
{
// Add as container listener
@@ -501,7 +501,7 @@ void ConfigurationAccess_UICommand::initializeConfigAccess()
{"nodepath", Any(m_aConfigPopupAccess)}
}));
m_xConfigAccessPopups.set( m_xConfigProvider->createInstanceWithArguments(
- "com.sun.star.configuration.ConfigurationAccess", aArgs2 ),UNO_QUERY );
+ u"com.sun.star.configuration.ConfigurationAccess"_ustr, aArgs2 ),UNO_QUERY );
if ( m_xConfigAccessPopups.is() )
{
// Add as container listener
@@ -585,7 +585,7 @@ UICommandDescription::UICommandDescription(const Reference< XComponentContext >&
// insert generic commands
auto& rMap = m_aUICommandsHashMap[rCurrentLanguage];
- UICommandsHashMap::iterator pIter = rMap.find( "GenericCommands" );
+ UICommandsHashMap::iterator pIter = rMap.find( u"GenericCommands"_ustr );
if ( pIter != rMap.end() )
pIter->second = m_xGenericUICommands[rCurrentLanguage];
}