summaryrefslogtreecommitdiff
path: root/embedserv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-04 12:01:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 14:38:29 +0200
commit562499b75abf465ad15b4c7eac73616a6bf137b5 (patch)
treefd1a577f2b6868efcb26d3901c17e0bd3e3e497b /embedserv
parent720c0d61b0eb8c7ce945555293fa66ac2536cf82 (diff)
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>
Diffstat (limited to 'embedserv')
-rw-r--r--embedserv/source/embed/docholder.cxx4
1 files changed, 2 insertions, 2 deletions
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 );