From 562499b75abf465ad15b4c7eac73616a6bf137b5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 4 May 2022 12:01:52 +0200 Subject: Just use Any ctor instead of makeAny in embedserv Change-Id: I2e5f94454a9e5d157cec1f883546655e8c11bd1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133818 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- embedserv/source/embed/docholder.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'embedserv') diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index 0c4469d62e80..12300b856517 100644 --- a/embedserv/source/embed/docholder.cxx +++ b/embedserv/source/embed/docholder.cxx @@ -829,7 +829,7 @@ void DocumentHolder::show() if ( xLMProps.is() ) { xLMProps->setPropertyValue("MenuBarCloser", - uno::makeAny( uno::Reference< frame::XStatusListener >() ) ); + uno::Any( uno::Reference< frame::XStatusListener >() ) ); } if ( !m_bLink ) @@ -1008,7 +1008,7 @@ IDispatch* DocumentHolder::GetIDispatch() try { uno::Any anyResult = xSupplier->createBridge( - uno::makeAny( m_xDocument ), + uno::Any( m_xDocument ), aProcId, bridge::ModelDependent::UNO, bridge::ModelDependent::OLE ); -- cgit v1.2.3