From 8d23959b9eb014b625e3d7a8ee8aea51cdc6abbf Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 26 Nov 2019 21:52:56 +0100 Subject: Remove unused return_type template unused since 1c2405ba44c5a146188c19e235f857ab18ea05f0 "tdf#89387 General functor and basic operations" (found by upcoming loplugin:unusedmember, which identified each of the two explicit specializations' sole member as unused) Change-Id: I275137cc70cbe4e58a728779e7e7593c5e11224b Reviewed-on: https://gerrit.libreoffice.org/83836 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sc/source/core/tool/scmatrix.cxx | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'sc') diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx index 3e5bb647db9f..934c14d3159a 100644 --- a/sc/source/core/tool/scmatrix.cxx +++ b/sc/source/core/tool/scmatrix.cxx @@ -2196,32 +2196,6 @@ void ScMatrixImpl::MergeDoubleArrayMultiply( std::vector& rArray ) const maMat.walk(std::move(aFunc)); } -namespace Op { - -namespace { - -template -struct return_type -{ - typedef T type; -}; - -template<> -struct return_type -{ - typedef double type; -}; - -template<> -struct return_type -{ - typedef svl::SharedString type; -}; - -} - -} - namespace { template -- cgit v1.2.3