[Libreoffice-commits] core.git: sc/source
Tor Lillqvist
tml at collabora.com
Thu Jan 22 01:14:34 PST 2015
sc/source/core/opencl/formulagroupcl.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit df8c7d1c4e9d878797398fa5fd94477b04c2cc00
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Jan 21 11:29:56 2015 +0200
Don't output idiotic comments in the generated OpenCL
We don't want silly non-informative comments in our C++ code. It is even more
pointless to put them into generated OpenCL code.
Change-Id: I89afc7234807a3ec5379c5d55a2ea8d52bde7600
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx
index e76bc1b..d601b82 100644
--- a/sc/source/core/opencl/formulagroupcl.cxx
+++ b/sc/source/core/opencl/formulagroupcl.cxx
@@ -1009,14 +1009,14 @@ public:
}
ss << temp2.str();
}
- ss << "} // to scope the int i declaration\n";
+ ss << "}\n";
needBody = false;
return nCurWindowSize;
}
// (mpDVR->IsStartFixed() && mpDVR->IsEndFixed())
else
{
- ss << "//else situation \n\t";
+ ss << "\n\t";
ss << "tmpBottom = " << mpCodeGen->GetBottom() << ";\n\t";
ss << "{int i;\n\t";
std::stringstream temp1, temp2;
@@ -1049,7 +1049,7 @@ public:
}
ss << temp2.str();
}
- ss << "} // to scope the int i declaration\n";
+ ss << "}\n";
needBody = false;
return nCurWindowSize;
}
More information about the Libreoffice-commits
mailing list