summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-25 13:29:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-26 09:18:39 +0200
commit7b171dbfb5b50b684eb221270759482fe49b4e15 (patch)
tree58d97e95bad60c87e1daf9b61d184c57fb3f951c /extensions/source/abpilot
parentf04bd7975292d297b72e8bb23aa74a2a5198aa23 (diff)
loplugin:constmethod in embeddedobj..extensions
Change-Id: Iec6a9ff8b62ac1986cca205435273b64b71f33cd Reviewed-on: https://gerrit.libreoffice.org/79539 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/abpilot')
-rw-r--r--extensions/source/abpilot/abspage.cxx2
-rw-r--r--extensions/source/abpilot/abspage.hxx2
-rw-r--r--extensions/source/abpilot/abspilot.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/abpilot/abspage.cxx b/extensions/source/abpilot/abspage.cxx
index 33770402a664..646bec495186 100644
--- a/extensions/source/abpilot/abspage.cxx
+++ b/extensions/source/abpilot/abspage.cxx
@@ -67,7 +67,7 @@ namespace abp
return m_pDialog->getSettings();
}
- const Reference< XComponentContext > & AddressBookSourcePage::getORB()
+ const Reference< XComponentContext > & AddressBookSourcePage::getORB() const
{
return m_pDialog->getORB();
}
diff --git a/extensions/source/abpilot/abspage.hxx b/extensions/source/abpilot/abspage.hxx
index e3fdce0f5077..9c8816f68b7a 100644
--- a/extensions/source/abpilot/abspage.hxx
+++ b/extensions/source/abpilot/abspage.hxx
@@ -44,7 +44,7 @@ namespace abp
OAddressBookSourcePilot* getDialog();
const OAddressBookSourcePilot* getDialog() const;
const css::uno::Reference< css::uno::XComponentContext > &
- getORB();
+ getORB() const;
AddressSettings& getSettings();
const AddressSettings& getSettings() const;
diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx
index 2a3ed894389e..6f274dc2e241 100644
--- a/extensions/source/abpilot/abspilot.hxx
+++ b/extensions/source/abpilot/abspilot.hxx
@@ -49,7 +49,7 @@ namespace abp
/// get the service factory which was used to create the dialog
const css::uno::Reference< css::uno::XComponentContext >&
- getORB() { return m_xORB; }
+ getORB() const { return m_xORB; }
AddressSettings& getSettings() { return m_aSettings; }
const AddressSettings& getSettings() const { return m_aSettings; }