diff options
Diffstat (limited to 'uui')
-rw-r--r-- | uui/source/iahndl.cxx | 2 | ||||
-rw-r--r-- | uui/source/iahndl.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx index 7f31daafd5c2..cd26da12de5d 100644 --- a/uui/source/iahndl.cxx +++ b/uui/source/iahndl.cxx @@ -946,7 +946,7 @@ UUIInteractionHelper::getParentXWindow() const } uno::Reference< task::XInteractionHandler2 > -UUIInteractionHelper::getInteractionHandler() +UUIInteractionHelper::getInteractionHandler() const { return InteractionHandler::createWithParentAndContext( m_xContext, m_xWindowParam, diff --git a/uui/source/iahndl.hxx b/uui/source/iahndl.hxx index f2c9461f6bbe..db39affb659a 100644 --- a/uui/source/iahndl.hxx +++ b/uui/source/iahndl.hxx @@ -90,7 +90,7 @@ public: css::uno::Reference< css::uno::XComponentContext > const & rxContext); css::uno::Reference<css::awt::XWindow> GetParentWindow() const { return m_xWindowParam; } - void SetParentWindow(css::uno::Reference<css::awt::XWindow>& rWindow) { m_xWindowParam = rWindow; } + void SetParentWindow(const css::uno::Reference<css::awt::XWindow>& rWindow) { m_xWindowParam = rWindow; } ~UUIInteractionHelper(); @@ -129,7 +129,7 @@ private: getParentXWindow() const; css::uno::Reference< css::task::XInteractionHandler2 > - getInteractionHandler(); + getInteractionHandler() const; bool handleTypedHandlerImplementations( css::uno::Reference< css::task::XInteractionRequest > const & rRequest |