summaryrefslogtreecommitdiff
path: root/uui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 10:31:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-28 11:30:49 +0200
commit08519ce8265b9b785f369623e1d6ad396c36d349 (patch)
treeb6c63ed7da7f02d3a04a753d3ff8f44dce44b2f7 /uui
parent6c6c1eea82b259c7aec1e0ed5ff86bfd2eb0243f (diff)
loplugin:constmethod in ucb..uui
Change-Id: I53db381de8e063b6a3aa07051351e655c6f040fa Reviewed-on: https://gerrit.libreoffice.org/79782 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'uui')
-rw-r--r--uui/source/iahndl.cxx2
-rw-r--r--uui/source/iahndl.hxx4
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