diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-01 21:08:37 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-01 21:09:10 -0400 |
commit | e4b145089367277bff880731d020ef21c2b51d03 (patch) | |
tree | 7385e5bee24d9bf9fbcb87d2a431a914f6fc47dc /sc | |
parent | 41e0a3bde2b9a838e4ad55c2ea4ed1ec22627f99 (diff) |
Nobody uses this. I forgot to remove it.
Change-Id: Ib035466e04f37ee1d7b61d352f7a380f005b3231
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/interpr5.cxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx index 79a038d326b2..26c2378f852e 100644 --- a/sc/source/core/tool/interpr5.cxx +++ b/sc/source/core/tool/interpr5.cxx @@ -1597,30 +1597,6 @@ void ScInterpreter::ScPow() namespace { -bool mergeArray( std::vector<double>& rRes, const std::vector<double>& rOther ) -{ - if (rRes.size() != rOther.size()) - return false; - - double fNan; - rtl::math::setNan(&fNan); - - std::vector<double>::iterator it = rRes.begin(), itEnd = rRes.end(); - std::vector<double>::const_iterator itOther = rOther.begin(); - for (; it != itEnd; ++it, ++itOther) - { - if (rtl::math::isNan(*it) || rtl::math::isNan(*itOther)) - { - *it = fNan; - continue; - } - - *it *= *itOther; - } - - return true; -} - class SumValues : std::unary_function<double, void> { double mfSum; |