[Libreoffice-commits] core.git: Branch 'feature/calc-group-interpreter' - sc/source
Kohei Yoshida
kohei.yoshida at gmail.com
Mon Jul 1 18:09:57 PDT 2013
sc/source/core/tool/interpr5.cxx | 24 ------------------------
1 file changed, 24 deletions(-)
New commits:
commit 09c47c623b3f0177231d2e14042df8f7f6a06446
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 050160e..3d2ce0a 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