summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 11:45:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 13:06:54 +0100
commit9ee60319c675087486907707c8a2b18b5c9dc9fc (patch)
treed4accdcfe604efa91518f37a1283ea436ecc65b7 /configmgr
parent4eec79bb376b64a9a90de4b6540c90776d3dba32 (diff)
loplugin:constmethod in idl,helpcompiler
Change-Id: I9b328fc0a3ebdd15a646ee6dab800ffbadb1aaef Reviewed-on: https://gerrit.libreoffice.org/44050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/components.cxx2
-rw-r--r--configmgr/source/components.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/components.cxx b/configmgr/source/components.cxx
index ddbebe103e60..5354763b0c95 100644
--- a/configmgr/source/components.cxx
+++ b/configmgr/source/components.cxx
@@ -878,7 +878,7 @@ void Components::parseModificationLayer(int layer, OUString const & url) {
}
}
-int Components::getExtensionLayer(bool shared) {
+int Components::getExtensionLayer(bool shared) const {
int layer = shared ? sharedExtensionLayer_ : userExtensionLayer_;
if (layer == -1) {
throw css::uno::RuntimeException(
diff --git a/configmgr/source/components.hxx b/configmgr/source/components.hxx
index fc10060e0845..5006c864acdc 100644
--- a/configmgr/source/components.hxx
+++ b/configmgr/source/components.hxx
@@ -139,7 +139,7 @@ private:
void parseModificationLayer(int layer, OUString const & url);
- int getExtensionLayer(bool shared);
+ int getExtensionLayer(bool shared) const;
typedef std::set< RootAccess * > WeakRootSet;