summaryrefslogtreecommitdiff
path: root/scripting/source/provider
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-25 13:31:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-26 10:15:00 +0200
commitbdc8fda4be875ff9cfa9c3f4b5e40284a8637374 (patch)
tree67eb55dcd1e9649e074e49ca0dd069920a2ae866 /scripting/source/provider
parentb11268fadf76618ad37d27219b7f51255f8f8b5a (diff)
loplugin:constmethod in sc
Change-Id: I78c4fb4acf21756f91582caee5e30e3ad1fc2ae4 Reviewed-on: https://gerrit.libreoffice.org/79543 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'scripting/source/provider')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx2
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.hxx2
-rw-r--r--scripting/source/provider/MasterScriptProvider.hxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index 83d3cbec80aa..5603cbdae062 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -608,7 +608,7 @@ BrowseNodeFactoryImpl::createView( sal_Int16 viewType )
}
Reference< browse::XBrowseNode >
-BrowseNodeFactoryImpl::getOrganizerHierarchy()
+BrowseNodeFactoryImpl::getOrganizerHierarchy() const
{
Reference< browse::XBrowseNode > xRet = new DefaultRootBrowseNode( m_xComponentContext );
return xRet;
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.hxx b/scripting/source/provider/BrowseNodeFactoryImpl.hxx
index d05e1094d97c..deef03d35d56 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.hxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.hxx
@@ -64,7 +64,7 @@ public:
private:
/// @throws css::uno::RuntimeException
css::uno::Reference< css::script::browse::XBrowseNode >
- getOrganizerHierarchy();
+ getOrganizerHierarchy() const;
};
diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx
index bb1ffe9306d8..c0bd17674eca 100644
--- a/scripting/source/provider/MasterScriptProvider.hxx
+++ b/scripting/source/provider/MasterScriptProvider.hxx
@@ -95,7 +95,7 @@ public:
virtual void SAL_CALL initialize( const css::uno::Sequence < css::uno::Any > & args ) override;
// returns context string for this provider, eg
- const OUString& getContextString() { return m_sCtxString; }
+ const OUString& getContextString() const { return m_sCtxString; }
private:
static OUString parseLocationName( const OUString& location );