summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objserv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objserv.cxx')
-rw-r--r--sfx2/source/doc/objserv.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 5da675a3dcb4..b38383e23a8f 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -626,7 +626,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
css::uno::Reference< css::uno::XInterface > xInterface;
const SfxUnoAnyItem* pUnoAny = pReq->GetArg<SfxUnoAnyItem>(FN_PARAM_2);
AsyncFunc* pAsyncFunc = pUnoAny && (pUnoAny->GetValue() >>= xInterface ) ?
- comphelper::getUnoTunnelImplementation<AsyncFunc>(xInterface) : nullptr;
+ comphelper::getFromUnoTunnel<AsyncFunc>(xInterface) : nullptr;
if (pAsyncFunc)
pAsyncFunc->Execute();
@@ -2063,7 +2063,7 @@ void SfxObjectShell::SignScriptingContent(weld::Window* pDialogParent)
const uno::Sequence<sal_Int8>& SfxObjectShell::getUnoTunnelId()
{
- static const UnoTunnelIdInit theSfxObjectShellUnoTunnelId;
+ static const comphelper::UnoIdInit theSfxObjectShellUnoTunnelId;
return theSfxObjectShellUnoTunnelId.getSeq();
}