summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx2
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.hxx2
-rw-r--r--scripting/source/provider/MasterScriptProvider.hxx2
-rw-r--r--scripting/source/vbaevents/eventhelper.cxx4
4 files changed, 5 insertions, 5 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 );
diff --git a/scripting/source/vbaevents/eventhelper.cxx b/scripting/source/vbaevents/eventhelper.cxx
index c6ba9161a549..f5e148b47029 100644
--- a/scripting/source/vbaevents/eventhelper.cxx
+++ b/scripting/source/vbaevents/eventhelper.cxx
@@ -293,7 +293,7 @@ public:
explicit ScriptEventHelper( const OUString& sCntrlServiceName );
~ScriptEventHelper();
Sequence< ScriptEventDescriptor > createEvents( const OUString& sCodeName );
- Sequence< OUString > getEventListeners();
+ Sequence< OUString > getEventListeners() const;
private:
Reference< XComponentContext > m_xCtx;
Reference< XInterface > m_xControl;
@@ -372,7 +372,7 @@ ScriptEventHelper::~ScriptEventHelper()
}
Sequence< OUString >
-ScriptEventHelper::getEventListeners()
+ScriptEventHelper::getEventListeners() const
{
std::list< OUString > eventMethods;