diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-26 21:52:56 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-27 08:58:28 +0100 |
commit | 8d23959b9eb014b625e3d7a8ee8aea51cdc6abbf (patch) | |
tree | d90cf586c0b38add4a52f00eee7a255ec21e2690 /sc | |
parent | dc944569bf311981a681b106b87e82d1262ccef2 (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/scmatrix.cxx | 26 |
1 files changed, 0 insertions, 26 deletions
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<double>& rArray ) const maMat.walk(std::move(aFunc)); } -namespace Op { - -namespace { - -template<typename T> -struct return_type -{ - typedef T type; -}; - -template<> -struct return_type<bool> -{ - typedef double type; -}; - -template<> -struct return_type<char> -{ - typedef svl::SharedString type; -}; - -} - -} - namespace { template<typename T, typename U, typename return_type> |