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 /reportdesign/source | |
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 'reportdesign/source')
-rw-r--r-- | reportdesign/source/core/api/ReportDefinition.cxx | 5 | ||||
-rw-r--r-- | reportdesign/source/core/inc/Tools.hxx | 6 | ||||
-rw-r--r-- | reportdesign/source/ui/inc/SectionWindow.hxx | 2 |
3 files changed, 0 insertions, 13 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx index c7c9ffb0b591..238727edd64f 100644 --- a/reportdesign/source/core/api/ReportDefinition.cxx +++ b/reportdesign/source/core/api/ReportDefinition.cxx @@ -2672,11 +2672,6 @@ uno::Reference< document::XDocumentProperties > SAL_CALL OReportDefinition::getD return m_pImpl->m_xDocumentProperties; } -uno::Reference< uno::XComponentContext > OReportDefinition::getContext() const -{ - return m_aProps->m_xContext; -} - uno::Any SAL_CALL OReportDefinition::getTransferData( const datatransfer::DataFlavor& aFlavor ) throw (datatransfer::UnsupportedFlavorException, io::IOException, uno::RuntimeException, std::exception) { uno::Any aResult; diff --git a/reportdesign/source/core/inc/Tools.hxx b/reportdesign/source/core/inc/Tools.hxx index 63b923340d30..d80581efaacf 100644 --- a/reportdesign/source/core/inc/Tools.hxx +++ b/reportdesign/source/core/inc/Tools.hxx @@ -43,12 +43,6 @@ namespace reportdesign ::comphelper::disposeComponent(_xSection); } - /** gets the properties which should be removed form the property set implementation. - * - * \return A sequence of all properties which should be removed for none char able implementations. - */ - ::com::sun::star::uno::Sequence< OUString > lcl_getCharOptionals(); - /** uses the XChild interface to get the section from any child of it. * * \param _xReportComponent A report component which is a child of the section. diff --git a/reportdesign/source/ui/inc/SectionWindow.hxx b/reportdesign/source/ui/inc/SectionWindow.hxx index c0fee43b6ac0..41bdb042a8fa 100644 --- a/reportdesign/source/ui/inc/SectionWindow.hxx +++ b/reportdesign/source/ui/inc/SectionWindow.hxx @@ -116,8 +116,6 @@ namespace rptui */ void setMarked(bool _bMark); - OViewsWindow* getViewsWindow() const { return m_pParent; } - /** zoom the ruler and view windows */ void zoom(const Fraction& _aZoom); |