diff options
-rw-r--r-- | cui/source/customize/CustomNotebookbarGenerator.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/toolbarmodedlg.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/customize/CustomNotebookbarGenerator.cxx b/cui/source/customize/CustomNotebookbarGenerator.cxx index 392ea3e37a4e..c601d051ea11 100644 --- a/cui/source/customize/CustomNotebookbarGenerator.cxx +++ b/cui/source/customize/CustomNotebookbarGenerator.cxx @@ -266,7 +266,7 @@ void CustomNotebookbarGenerator::setCustomizedUIItem(Sequence<OUString> sUIItemP const utl::OConfigurationNode aModesNode = aAppNode.openNode("Modes"); const utl::OConfigurationNode aModeNode(aModesNode.openNode(sNotebookbarConfigType)); - css::uno::Any aUIItemProperties(makeAny(sUIItemProperties)); + css::uno::Any aUIItemProperties(sUIItemProperties); aModeNode.setNodeValue("UIItemProperties", aUIItemProperties); aAppNode.commit(); } diff --git a/cui/source/dialogs/toolbarmodedlg.cxx b/cui/source/dialogs/toolbarmodedlg.cxx index 3d3594e8cde9..5ca568adf576 100644 --- a/cui/source/dialogs/toolbarmodedlg.cxx +++ b/cui/source/dialogs/toolbarmodedlg.cxx @@ -197,13 +197,13 @@ IMPL_LINK(ToolbarmodeDialog, OnApplyClick, weld::Button&, rButton, void) const utl::OConfigurationTreeRoot aAppNode( xContext, "org.openoffice.Office.UI.ToolbarMode/Applications/", true); if (sCurrentApp != "Writer") - aAppNode.setNodeValue("Writer/Active", css::uno::makeAny(sCmd)); + aAppNode.setNodeValue("Writer/Active", css::uno::Any(sCmd)); if (sCurrentApp != "Calc") - aAppNode.setNodeValue("Calc/Active", css::uno::makeAny(sCmd)); + aAppNode.setNodeValue("Calc/Active", css::uno::Any(sCmd)); if (sCurrentApp != "Impress") - aAppNode.setNodeValue("Impress/Active", css::uno::makeAny(sCmd)); + aAppNode.setNodeValue("Impress/Active", css::uno::Any(sCmd)); if (sCurrentApp != "Draw") - aAppNode.setNodeValue("Draw/Active", css::uno::makeAny(sCmd)); + aAppNode.setNodeValue("Draw/Active", css::uno::Any(sCmd)); aAppNode.commit(); }; } |