summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-12-31 13:56:17 +0200
committerTor Lillqvist <tml@collabora.com>2014-12-31 14:06:13 +0200
commitf00250f2c500a43ce82fbdb6eb51a84f3586357d (patch)
tree5f8227b94fb9b5ccebd1e131c19c3b775decb318
parent13c71694fce1bf0d9c968581e418886052d1c8c7 (diff)
Cosmetic changes
Remove some pointless line breaks followed by a huge indentation (past the end of the previous line). Change-Id: I81925962c6eddc7ee3137135000fcc8e55222105
-rw-r--r--sc/source/core/opencl/formulagroupcl.cxx16
1 files changed, 5 insertions, 11 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index e1abb1dc79e5..e3c141692d42 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1477,8 +1477,7 @@ public:
if (ocPush == tmpCur->GetOpCode())
{
- pCurDVR = static_cast<
- const formula::DoubleVectorRefToken*>(tmpCur);
+ pCurDVR = static_cast<const formula::DoubleVectorRefToken*>(tmpCur);
if (!
((!pCurDVR->IsStartFixed() && !pCurDVR->IsEndFixed())
|| (pCurDVR->IsStartFixed() && pCurDVR->IsEndFixed()))
@@ -1498,8 +1497,7 @@ public:
tmpCur = vSubArguments[i]->GetFormulaToken();
if (ocPush == tmpCur->GetOpCode())
{
- pCurDVR = static_cast<
- const formula::DoubleVectorRefToken*>(tmpCur);
+ pCurDVR = static_cast<const formula::DoubleVectorRefToken*>(tmpCur);
if (!pCurDVR->IsStartFixed() && !pCurDVR->IsEndFixed())
{
ss << " int currentCount";
@@ -1580,8 +1578,7 @@ public:
tmpCur = vSubArguments[i]->GetFormulaToken();
if (ocPush == tmpCur->GetOpCode())
{
- pCurDVR = static_cast<
- const formula::DoubleVectorRefToken*>(tmpCur);
+ pCurDVR = static_cast<const formula::DoubleVectorRefToken*>(tmpCur);
if (!pCurDVR->IsStartFixed() && !pCurDVR->IsEndFixed())
{
temp3 << " currentCount";
@@ -1657,8 +1654,7 @@ public:
tmpCur = vSubArguments[i]->GetFormulaToken();
if (ocPush == tmpCur->GetOpCode())
{
- pCurDVR = static_cast<
- const formula::DoubleVectorRefToken*>(tmpCur);
+ pCurDVR = static_cast<const formula::DoubleVectorRefToken*>(tmpCur);
if (!pCurDVR->IsStartFixed() && !pCurDVR->IsEndFixed())
{
temp4 << " currentCount";
@@ -2030,9 +2026,7 @@ public:
{
if (VectorRef* VR = dynamic_cast<VectorRef*>(it->get()))
vclmem.push_back(SumIfsArgs(VR->GetCLBuffer()));
- else if (DynamicKernelConstantArgument* CA =
- dynamic_cast<
- DynamicKernelConstantArgument*>(it->get()))
+ else if (DynamicKernelConstantArgument* CA = dynamic_cast<DynamicKernelConstantArgument*>(it->get()))
vclmem.push_back(SumIfsArgs(CA->GetDouble()));
else
vclmem.push_back(SumIfsArgs((cl_mem)NULL));