diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-17 11:44:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-17 14:51:23 +0100 |
commit | 2cbf83e20889351e2d2a6e29e5c7d9250af58647 (patch) | |
tree | 9cea9bf90ff8bfcf79e7d2b827fdea9bdfdf8ad1 /chart2/source/model | |
parent | 51648c8de8dc060abc8dff1af105acfccadab77d (diff) |
loplugin:unusedmethods
Change-Id: I58c60262ca543bafb4db4433dbb98b195f7571ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130063
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/template/DataInterpreter.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/chart2/source/model/template/DataInterpreter.cxx b/chart2/source/model/template/DataInterpreter.cxx index 4d45d2a58278..2b3eb1537cce 100644 --- a/chart2/source/model/template/DataInterpreter.cxx +++ b/chart2/source/model/template/DataInterpreter.cxx @@ -343,21 +343,6 @@ uno::Any DataInterpreter::GetProperty( bool DataInterpreter::HasCategories( const Sequence< beans::PropertyValue > & rArguments, - const Sequence< Reference< data::XLabeledDataSequence > > & rData ) -{ - bool bHasCategories = false; - - if( rArguments.hasElements() ) - GetProperty( rArguments, u"HasCategories" ) >>= bHasCategories; - - for( sal_Int32 nLSeqIdx=0; ! bHasCategories && nLSeqIdx<rData.getLength(); ++nLSeqIdx ) - bHasCategories = ( rData[nLSeqIdx].is() && GetRole( rData[nLSeqIdx]->getValues() ) == "categories"); - - return bHasCategories; -} - -bool DataInterpreter::HasCategories( - const Sequence< beans::PropertyValue > & rArguments, const std::vector< uno::Reference< chart2::data::XLabeledDataSequence > > & rData ) { bool bHasCategories = false; |