summaryrefslogtreecommitdiff
path: root/scripting/source/provider
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-02 22:30:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-02 22:30:49 +0200
commitf6abc3f97e74df0c4ae05abf4075085a9b9c1cc4 (patch)
tree996a26c5406ec43bb51039d4790080b16cefba7a /scripting/source/provider
parent619c9b494a76b0fb8b0cf6c9b7622f17cf1d5b6c (diff)
loplugin:casttovoid: scripting
Change-Id: I9f77eca5a80ad4e9d3cee8f7400a245f5fa78bbb
Diffstat (limited to 'scripting/source/provider')
-rw-r--r--scripting/source/provider/BrowseNodeFactoryImpl.cxx1
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.cxx b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
index daaab0238454..e064556d61e9 100644
--- a/scripting/source/provider/BrowseNodeFactoryImpl.cxx
+++ b/scripting/source/provider/BrowseNodeFactoryImpl.cxx
@@ -293,7 +293,6 @@ std::vector< Reference< browse::XBrowseNode > > getAllBrowseNodes( const Referen
// TODO proper exception handling, should throw
catch( const Exception& e )
{
- (void)e;
SAL_WARN("scripting", "Caught Exception " << e.Message );
locnBNs.resize( mspIndex );
return locnBNs;
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index 1e26f272d2fc..63a2685c48ee 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -209,7 +209,6 @@ void MasterScriptProvider::createPkgProvider()
}
catch ( const Exception& e )
{
- (void)e;
SAL_WARN("scripting.provider", "Exception creating MasterScriptProvider for uno_packages in context "
<< m_sCtxString << ": " << e.Message );
}