[Libreoffice-commits] core.git: sc/source
Miklos Vajna
vmiklos at collabora.co.uk
Wed Dec 18 23:21:23 PST 2013
sc/source/core/opencl/op_statistical.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit b7e0c9aa319b952d6fed09b8b5a835b1043149d2
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu Dec 19 08:19:41 2013 +0100
-Werror=shadow
Change-Id: I85a16b1a445d336ae450cfb3e4884d0bc637b0b9
diff --git a/sc/source/core/opencl/op_statistical.cxx b/sc/source/core/opencl/op_statistical.cxx
index c3b8a5d..8901e78 100644
--- a/sc/source/core/opencl/op_statistical.cxx
+++ b/sc/source/core/opencl/op_statistical.cxx
@@ -4072,7 +4072,7 @@ vSubArguments)
{
const formula::DoubleVectorRefToken* pDVR =
dynamic_cast<const formula::DoubleVectorRefToken *>(pCur);
- size_t nCurWindowSize = pDVR->GetRefRowSize();
+ nCurWindowSize = pDVR->GetRefRowSize();
ss << " for (int i = ";
#ifdef ISNAN
ss << "0; i < "<< nCurWindowSize << "; i++){\n";
@@ -5472,7 +5472,7 @@ void OpIntercept::GenSlidingWindowFunction(std::stringstream &ss,
ss << " double tmp = 0;\n";
for (unsigned i = 0; i < vSubArguments.size(); i++)
{
- FormulaToken *pCur = vSubArguments[i]->GetFormulaToken();
+ pCur = vSubArguments[i]->GetFormulaToken();
assert(pCur);
if (pCur->GetType() == formula::svDoubleVectorRef)
{
More information about the Libreoffice-commits
mailing list