summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/customize/CustomNotebookbarGenerator.cxx2
-rw-r--r--cui/source/dialogs/toolbarmodedlg.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/customize/CustomNotebookbarGenerator.cxx b/cui/source/customize/CustomNotebookbarGenerator.cxx
index d14de28de1ee..e1851a72506a 100644
--- a/cui/source/customize/CustomNotebookbarGenerator.cxx
+++ b/cui/source/customize/CustomNotebookbarGenerator.cxx
@@ -276,7 +276,7 @@ void CustomNotebookbarGenerator::setCustomizedUIItem(const Sequence<OUString>& r
const utl::OConfigurationNode aModeNode(aModesNode.openNode(rNotebookbarConfigType));
css::uno::Any aUIItemProperties(rUIItemProperties);
- aModeNode.setNodeValue("UIItemProperties", aUIItemProperties);
+ aModeNode.setNodeValue(u"UIItemProperties"_ustr, aUIItemProperties);
aAppNode.commit();
}
diff --git a/cui/source/dialogs/toolbarmodedlg.cxx b/cui/source/dialogs/toolbarmodedlg.cxx
index fed0f053bf4f..25cd4a7b9ac0 100644
--- a/cui/source/dialogs/toolbarmodedlg.cxx
+++ b/cui/source/dialogs/toolbarmodedlg.cxx
@@ -194,13 +194,13 @@ IMPL_LINK(ToolbarmodeDialog, OnApplyClick, weld::Button&, rButton, void)
const utl::OConfigurationTreeRoot aAppNode(
xContext, u"org.openoffice.Office.UI.ToolbarMode/Applications/"_ustr, true);
if (sCurrentApp != "Writer")
- aAppNode.setNodeValue("Writer/Active", css::uno::Any(sCmd));
+ aAppNode.setNodeValue(u"Writer/Active"_ustr, css::uno::Any(sCmd));
if (sCurrentApp != "Calc")
- aAppNode.setNodeValue("Calc/Active", css::uno::Any(sCmd));
+ aAppNode.setNodeValue(u"Calc/Active"_ustr, css::uno::Any(sCmd));
if (sCurrentApp != "Impress")
- aAppNode.setNodeValue("Impress/Active", css::uno::Any(sCmd));
+ aAppNode.setNodeValue(u"Impress/Active"_ustr, css::uno::Any(sCmd));
if (sCurrentApp != "Draw")
- aAppNode.setNodeValue("Draw/Active", css::uno::Any(sCmd));
+ aAppNode.setNodeValue(u"Draw/Active"_ustr, css::uno::Any(sCmd));
aAppNode.commit();
};
}