diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 09:21:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-20 09:59:17 +0100 |
commit | 98f2bd667c45ad8d041673c99678e2f95a749b55 (patch) | |
tree | 4a91f1a6476d619cb398c6c1bce39f197a545ce7 /chart2 | |
parent | 1d69cf32a73c0720882731ebf3eb5d2f07fce246 (diff) |
loplugin:unusedmethods
Remove a filtering step in the python script that was hiding some
results
Change-Id: Id94268f150902405ab197c077f18aaedf98845fc
Reviewed-on: https://gerrit.libreoffice.org/83256
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/sidebar/ChartTypePanel.cxx | 13 | ||||
-rw-r--r-- | chart2/source/controller/sidebar/ChartTypePanel.hxx | 4 |
2 files changed, 0 insertions, 17 deletions
diff --git a/chart2/source/controller/sidebar/ChartTypePanel.cxx b/chart2/source/controller/sidebar/ChartTypePanel.cxx index 6de33352b051..e6ee12ec7e4e 100644 --- a/chart2/source/controller/sidebar/ChartTypePanel.cxx +++ b/chart2/source/controller/sidebar/ChartTypePanel.cxx @@ -267,19 +267,6 @@ void ChartTypePanel::updateData() } } -VclPtr<vcl::Window> ChartTypePanel::Create(vcl::Window* pParent, - const css::uno::Reference<css::frame::XFrame>& rxFrame, - ChartController* pController) -{ - if (pParent == nullptr) - throw lang::IllegalArgumentException("no parent Window given to ChartTypePanel::Create", - nullptr, 0); - if (!rxFrame.is()) - throw lang::IllegalArgumentException("no XFrame given to ChartTypePanel::Create", nullptr, - 1); - return VclPtr<ChartTypePanel>::Create(pParent, rxFrame, pController); -} - void ChartTypePanel::DataChanged(const DataChangedEvent&) { updateData(); } void ChartTypePanel::HandleContextChange(const vcl::EnumContext& rContext) diff --git a/chart2/source/controller/sidebar/ChartTypePanel.hxx b/chart2/source/controller/sidebar/ChartTypePanel.hxx index a37df639e356..02b76a6b04b6 100644 --- a/chart2/source/controller/sidebar/ChartTypePanel.hxx +++ b/chart2/source/controller/sidebar/ChartTypePanel.hxx @@ -71,10 +71,6 @@ class ChartTypePanel : public ResourceChangeListener, public ChartTypeTemplateProvider { public: - static VclPtr<vcl::Window> Create(vcl::Window* pParent, - const css::uno::Reference<css::frame::XFrame>& rxFrame, - ChartController* pController); - virtual void DataChanged(const DataChangedEvent& rEvent) override; virtual void HandleContextChange(const vcl::EnumContext& rContext) override; |