summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-12-07 16:06:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-07 16:59:28 +0100
commitb541cd9a8038810ce449f8c49ae179d9d6eaa7e8 (patch)
tree291a876a7d947b43cf9b59ef752e1a38bcb89851 /chart2
parent2538188ee85513cb80eb8aa8f925082d86ff711d (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')
-rw-r--r--chart2/source/inc/TitleHelper.hxx4
-rw-r--r--chart2/source/tools/TitleHelper.cxx11
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 )