[Libreoffice-commits] core.git: sc/source

Tor Lillqvist tml at collabora.com
Wed Dec 31 04:08:01 PST 2014


 sc/source/core/opencl/formulagroupcl.cxx |   16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

New commits:
commit f00250f2c500a43ce82fbdb6eb51a84f3586357d
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Dec 31 13:56:17 2014 +0200

    Cosmetic changes
    
    Remove some pointless line breaks followed by a huge indentation (past the end
    of the previous line).
    
    Change-Id: I81925962c6eddc7ee3137135000fcc8e55222105

diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index e1abb1d..e3c1416 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));


More information about the Libreoffice-commits mailing list