summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/docfile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/docfile.cxx')
-rw-r--r--sfx2/source/doc/docfile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 666d37fd915d..9c199ad53fb3 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -2527,8 +2527,8 @@ SfxMedium::GetInteractionHandler()
// create default handler and cache it!
Reference< uno::XComponentContext > xContext = ::comphelper::getProcessComponentContext();
- pImp->xInteraction = Reference< task::XInteractionHandler >(
- task::InteractionHandler::createDefault(xContext), UNO_QUERY_THROW );
+ pImp->xInteraction.set(
+ task::InteractionHandler::createWithParent(xContext, 0), UNO_QUERY_THROW );
return pImp->xInteraction;
}