[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at gmail.com
Mon Jul 1 18:09:25 PDT 2013
sc/source/core/tool/interpr5.cxx | 24 ------------------------
1 file changed, 24 deletions(-)
New commits:
commit e4b145089367277bff880731d020ef21c2b51d03
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Mon Jul 1 21:08:37 2013 -0400
Nobody uses this. I forgot to remove it.
Change-Id: Ib035466e04f37ee1d7b61d352f7a380f005b3231
diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx
index 79a038d..26c2378 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;
More information about the Libreoffice-commits
mailing list