summaryrefslogtreecommitdiff
path: root/vcl/source/control/managedmenubutton.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-02 22:23:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 07:15:11 +0200
commitc8053f5a5629c04defd813b061f0d59d6bf15f88 (patch)
tree8a0e4cbafac32f98cee8547fd4088f6fdcdad6a2 /vcl/source/control/managedmenubutton.cxx
parent0cc8da4c091ac5784c0b4c2c7850ca8dabffea04 (diff)
Just use Any ctor instead of makeAny in vcl
Change-Id: Ib9b588cd10154049a5493c1be16de72955ea6077 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133736 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/source/control/managedmenubutton.cxx')
-rw-r--r--vcl/source/control/managedmenubutton.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/control/managedmenubutton.cxx b/vcl/source/control/managedmenubutton.cxx
index 880730721ce2..bf3065e71cdf 100644
--- a/vcl/source/control/managedmenubutton.cxx
+++ b/vcl/source/control/managedmenubutton.cxx
@@ -72,9 +72,9 @@ void ManagedMenuButton::Activate()
{}
css::uno::Sequence<css::uno::Any> aArgs {
- css::uno::makeAny(comphelper::makePropertyValue("ModuleIdentifier", aModuleName)),
- css::uno::makeAny(comphelper::makePropertyValue("Frame", css::uno::makeAny(xFrame))),
- css::uno::makeAny(comphelper::makePropertyValue("InToolbar", css::uno::makeAny(true)))
+ css::uno::Any(comphelper::makePropertyValue("ModuleIdentifier", aModuleName)),
+ css::uno::Any(comphelper::makePropertyValue("Frame", css::uno::Any(xFrame))),
+ css::uno::Any(comphelper::makePropertyValue("InToolbar", css::uno::Any(true)))
};
const OUString aCommand(GetCommand());