diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-19 13:17:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-04-19 19:18:51 +0200 |
commit | e2c7a6bd572644b928704f6cb3696b568ac0aba1 (patch) | |
tree | b9f64cf65d77edf2798b03de60d47602ebe95b15 /chart2/source/view | |
parent | fcf776a09a2c5cd692480c8ec4a678e3d04739c9 (diff) |
loplugin::unusedmethods
Change-Id: I6a07860edb13588b83345babeb53675aedc43f7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150607
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view')
-rw-r--r-- | chart2/source/view/main/VTitle.cxx | 14 | ||||
-rw-r--r-- | chart2/source/view/main/VTitle.hxx | 2 |
2 files changed, 0 insertions, 16 deletions
diff --git a/chart2/source/view/main/VTitle.cxx b/chart2/source/view/main/VTitle.cxx index e820e75f9c8b..e251fe95971c 100644 --- a/chart2/source/view/main/VTitle.cxx +++ b/chart2/source/view/main/VTitle.cxx @@ -105,20 +105,6 @@ bool VTitle::isVisible(const rtl::Reference< Title >& xTitle) { return bShow; } -bool VTitle::isVisible(const uno::Reference< XTitle >& xTitle) { - if (!xTitle.is()) { - return false; - } - bool bShow = true; - try { - uno::Reference< beans::XPropertySet > xTitleProps(xTitle, uno::UNO_QUERY_THROW); - xTitleProps->getPropertyValue("Visible") >>= bShow; - } catch (const uno::Exception &) { - DBG_UNHANDLED_EXCEPTION("chart2"); - } - return bShow; -} - void VTitle::createShapes( const awt::Point& rPos diff --git a/chart2/source/view/main/VTitle.hxx b/chart2/source/view/main/VTitle.hxx index a0c999dae957..792d7f6a0a5c 100644 --- a/chart2/source/view/main/VTitle.hxx +++ b/chart2/source/view/main/VTitle.hxx @@ -55,8 +55,6 @@ public: css::awt::Size getFinalSize() const; void changePosition( const css::awt::Point& rPos ); static bool isVisible( - const css::uno::Reference< css::chart2::XTitle > & xTitle); - static bool isVisible( const rtl::Reference< ::chart::Title > & xTitle); private: |