summaryrefslogtreecommitdiff
path: root/uui/source/iahndl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/iahndl.cxx')
-rw-r--r--uui/source/iahndl.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index e09256d9027e..09f904cf2971 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -1107,15 +1107,13 @@ UUIInteractionHelper::getContextProperty()
return m_aContextParam;
}
-uno::Reference< task::XInteractionHandler >
+uno::Reference< task::XInteractionHandler2 >
UUIInteractionHelper::getInteractionHandler()
SAL_THROW((uno::RuntimeException))
{
- uno::Reference< task::XInteractionHandler > xIH(
- InteractionHandler::createWithParentAndContext(comphelper::getComponentContext(m_xServiceFactory),
- m_xWindowParam, m_aContextParam),
- UNO_QUERY_THROW);
- return xIH;
+ return InteractionHandler::createWithParentAndContext(
+ comphelper::getComponentContext(m_xServiceFactory), m_xWindowParam,
+ m_aContextParam);
}
namespace {