diff options
author | Noel <noelgrandin@gmail.com> | 2020-12-07 16:06:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-12-07 16:59:28 +0100 |
commit | b541cd9a8038810ce449f8c49ae179d9d6eaa7e8 (patch) | |
tree | 291a876a7d947b43cf9b59ef752e1a38bcb89851 /chart2/source | |
parent | 2538188ee85513cb80eb8aa8f925082d86ff711d (diff) |
loplugin:unusedmethods
Change-Id: Ib51fd610c5188fe95872d509f004ae88f38c5417
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107351
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source')
-rw-r--r-- | chart2/source/inc/TitleHelper.hxx | 4 | ||||
-rw-r--r-- | chart2/source/tools/TitleHelper.cxx | 11 |
2 files changed, 0 insertions, 15 deletions
diff --git a/chart2/source/inc/TitleHelper.hxx b/chart2/source/inc/TitleHelper.hxx index de2658b9415d..0628252f5fd6 100644 --- a/chart2/source/inc/TitleHelper.hxx +++ b/chart2/source/inc/TitleHelper.hxx @@ -76,10 +76,6 @@ public: static void removeTitle( eTitleType nTitleIndex , const css::uno::Reference< css::frame::XModel >& xModel ); - static void hideTitle( eTitleType nTitleIndex - , const css::uno::Reference< css::frame::XModel >& xModel ); - - static OUString getCompleteString( const css::uno::Reference< css::chart2::XTitle >& xTitle ); static void setCompleteString( const OUString& rNewText , const css::uno::Reference< css::chart2::XTitle >& xTitle diff --git a/chart2/source/tools/TitleHelper.cxx b/chart2/source/tools/TitleHelper.cxx index 3cdddbbeeb44..600ebedd2d3b 100644 --- a/chart2/source/tools/TitleHelper.cxx +++ b/chart2/source/tools/TitleHelper.cxx @@ -394,17 +394,6 @@ void TitleHelper::removeTitle( TitleHelper::eTitleType nTitleIndex } } -void TitleHelper::hideTitle( TitleHelper::eTitleType nTitleIndex - , const css::uno::Reference< css::frame::XModel >& xModel ) -{ - uno::Reference< chart2::XTitle > xTitled( TitleHelper::getTitle( nTitleIndex, xModel ) ); - if( xTitled.is()) - { - css::uno::Reference<css::beans::XPropertySet> xProps(xTitled, css::uno::UNO_QUERY_THROW); - xProps->setPropertyValue("Visible",css::uno::Any(false)); - } -} - bool TitleHelper::getTitleType( eTitleType& rType , const css::uno::Reference< css::chart2::XTitle >& xTitle , ChartModel& rModel ) |