From e23363f51e5d24710b032b795e715ad91adee8c9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Jun 2018 12:26:05 +0200 Subject: loplugin:unusedmethods Change-Id: Ibd9f4757ec26da7acc645f33573ace3280e84834 Reviewed-on: https://gerrit.libreoffice.org/55788 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/inc/CommonConverters.hxx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'chart2/source') diff --git a/chart2/source/inc/CommonConverters.hxx b/chart2/source/inc/CommonConverters.hxx index 48fc21aa20db..d4a5b6ed19b6 100644 --- a/chart2/source/inc/CommonConverters.hxx +++ b/chart2/source/inc/CommonConverters.hxx @@ -197,20 +197,6 @@ css::uno::Sequence< T > return aResult; } -template< typename T > - std::vector< T > - FlattenVector( const std::vector< std::vector< T > > & rVecVec ) -{ - typedef std::vector< T > tFlatVec; - typedef std::vector< tFlatVec > tVecVec; - - tFlatVec aResult; - typename tVecVec::const_iterator aOuterEnd( rVecVec.end()); - for( typename tVecVec::const_iterator aOuterIt( rVecVec.begin()); aOuterIt != aOuterEnd; ++aOuterIt ) - std::copy( aOuterIt->begin(), aOuterIt->end(), back_inserter( aResult )); - return aResult; -} - OOO_DLLPUBLIC_CHARTTOOLS bool hasDoubleValue( const css::uno::Any& rAny ); -- cgit