diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-30 10:29:19 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-01 10:43:24 +0000 |
commit | 58aea3f36c14414f95668e229a7350598f6c53a8 (patch) | |
tree | 70c115dffd44576313cefd49e4164d293895e4bd /forms | |
parent | 3fcbfe10857631212d8b8db9a079bb9692ed78bc (diff) |
loplugin:unusedmethods
- improvements to the plugin to find more method calls
- improvements to python script to remove more false+
- fix the FORCE_COMPILE_ALL build flag to include code in
the $WORKDIR
Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836
Reviewed-on: https://gerrit.libreoffice.org/19064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/inc/listenercontainers.hxx | 3 | ||||
-rw-r--r-- | forms/source/xforms/NameContainer.hxx | 7 | ||||
-rw-r--r-- | forms/source/xforms/xpathlib/xpathlib.hxx | 1 |
3 files changed, 0 insertions, 11 deletions
diff --git a/forms/source/inc/listenercontainers.hxx b/forms/source/inc/listenercontainers.hxx index 6c7c75d10dc2..4e19758936fe 100644 --- a/forms/source/inc/listenercontainers.hxx +++ b/forms/source/inc/listenercontainers.hxx @@ -41,9 +41,6 @@ namespace frm ::cppu::OWeakObject& m_rInstigator; protected: - ::cppu::OWeakObject& getInstigator() { return m_rInstigator; } - - protected: inline EventListeners( ::cppu::OWeakObject& _rInstigator, ::osl::Mutex& _rMutex ) :EventListeners_Base( _rMutex ) ,m_rInstigator( _rInstigator ) diff --git a/forms/source/xforms/NameContainer.hxx b/forms/source/xforms/NameContainer.hxx index db4719564592..e969002f2103 100644 --- a/forms/source/xforms/NameContainer.hxx +++ b/forms/source/xforms/NameContainer.hxx @@ -60,13 +60,6 @@ protected: return findItem( rName ) != maItems.end(); } - T getItem( const OUString& rName ) - { - OSL_ENSURE( hasItem( rName ), "can't get non-existent item" ); - return maItems[ rName ]; - } - - void replace( const OUString& rName, const T& aElement ) { diff --git a/forms/source/xforms/xpathlib/xpathlib.hxx b/forms/source/xforms/xpathlib/xpathlib.hxx index 3965ca740465..57f608b8ecde 100644 --- a/forms/source/xforms/xpathlib/xpathlib.hxx +++ b/forms/source/xforms/xpathlib/xpathlib.hxx @@ -55,7 +55,6 @@ void xforms_indexFunction(xmlXPathParserContextPtr ctxt, int nargs); // String Functions void xforms_propertyFunction(xmlXPathParserContextPtr ctxt, int nargs); -void xforms_versionFunction(xmlXPathParserContextPtr ctxt, int nargs); // Date and Time Functions void xforms_nowFunction(xmlXPathParserContextPtr ctxt, int nargs); |