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 <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2022-05-04 12:01:52 +02:00
parent 720c0d61b0
commit 562499b75a

View file

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