avmedia/source/viewer/mediawindow.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 574018db41b9be7619bddda098c6068efdc2886a
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Wed May 4 22:34:29 2022 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu May 5 07:57:49 2022 +0200

    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 <sberg...@redhat.com>

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);
 }

Reply via email to