diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-19 08:19:41 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-19 08:20:47 +0100 |
commit | b7e0c9aa319b952d6fed09b8b5a835b1043149d2 (patch) | |
tree | 018601ce5a712ca53b83acc799e6263ca871c015 /sc | |
parent | 3d0152ba5f551e23b3de5a32e0c45e9d73f482ed (diff) |
-Werror=shadow
Change-Id: I85a16b1a445d336ae450cfb3e4884d0bc637b0b9
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/opencl/op_statistical.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/opencl/op_statistical.cxx b/sc/source/core/opencl/op_statistical.cxx index c3b8a5de2ef3..8901e7870787 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) { |