diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 22:34:29 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-05 07:57:49 +0200 |
commit | 574018db41b9be7619bddda098c6068efdc2886a (patch) | |
tree | d34fb146ed83bcabbb576d0a8a649c3c10462be4 /avmedia | |
parent | ffdad488a8d2cd52e7bc81c9dee7c9aa562d80e8 (diff) |
Just use Any ctor instead of makeAny in avmedia
Change-Id: Ib43fa3be2e63de8ad6967682c2b00e702eb527ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133850
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/viewer/mediawindow.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx index 4db6a93cf553..d6649a2d743c 100644 --- a/avmedia/source/viewer/mediawindow.cxx +++ b/avmedia/source/viewer/mediawindow.cxx @@ -445,10 +445,10 @@ void MediaWindow::dispatchInsertAVMedia(const css::uno::Reference<css::frame::XD css::uno::Reference<css::frame::XDispatch> xDispatch = rDispatchProvider->queryDispatch(aDispatchURL, "", 0); css::uno::Sequence<css::beans::PropertyValue> aArgs(comphelper::InitPropertySequence({ - { "URL", css::uno::makeAny(rURL) }, - { "Size.Width", uno::makeAny(rSize.Width)}, - { "Size.Height", uno::makeAny(rSize.Height)}, - { "IsLink", css::uno::makeAny(bLink) }, + { "URL", css::uno::Any(rURL) }, + { "Size.Width", uno::Any(rSize.Width)}, + { "Size.Height", uno::Any(rSize.Height)}, + { "IsLink", css::uno::Any(bLink) }, })); xDispatch->dispatch(aDispatchURL, aArgs); } |