summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'scripting')
-rw-r--r--scripting/source/provider/ProviderCache.cxx2
-rw-r--r--scripting/source/provider/ProviderCache.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripting/source/provider/ProviderCache.cxx b/scripting/source/provider/ProviderCache.cxx
index 4fb6c0ba230c..f5bdfe1ac11b 100644
--- a/scripting/source/provider/ProviderCache.cxx
+++ b/scripting/source/provider/ProviderCache.cxx
@@ -193,7 +193,7 @@ ProviderCache::createProvider( ProviderDetails& details )
}
bool
-ProviderCache::isInDenyList( const OUString& serviceName )
+ProviderCache::isInDenyList( const OUString& serviceName ) const
{
return comphelper::findValue(m_sDenyList, serviceName) != -1;
}
diff --git a/scripting/source/provider/ProviderCache.hxx b/scripting/source/provider/ProviderCache.hxx
index 6b5059370c05..b565d1d082b0 100644
--- a/scripting/source/provider/ProviderCache.hxx
+++ b/scripting/source/provider/ProviderCache.hxx
@@ -65,7 +65,7 @@ private:
/// @throws css::uno::RuntimeException
css::uno::Reference< css::script::provider::XScriptProvider >
createProvider( ProviderDetails& details );
- bool isInDenyList( const OUString& serviceName );
+ bool isInDenyList( const OUString& serviceName ) const;
css::uno::Sequence< OUString > m_sDenyList;
ProviderDetails_hash m_hProviderDetailsCache;
std::mutex m_mutex;