[ooo-build-commit] Branch 'ooo-build-3-1-1' - patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Mon Nov 23 13:23:04 PST 2009


 patches/dev300/calc-perf-speedup-pagebreak-update.diff |   50 -----------------
 1 file changed, 50 deletions(-)

New commits:
commit 5309e978fc12de1f81f5c5991b96dcfe146fd0bb
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Mon Nov 23 16:22:14 2009 -0500

    Removed unnecessary debug code that I forgot to remove.
    
    * patches/dev300/calc-perf-speedup-pagebreak-update.diff:

diff --git a/patches/dev300/calc-perf-speedup-pagebreak-update.diff b/patches/dev300/calc-perf-speedup-pagebreak-update.diff
index 6cb1cae..03ae110 100644
--- a/patches/dev300/calc-perf-speedup-pagebreak-update.diff
+++ b/patches/dev300/calc-perf-speedup-pagebreak-update.diff
@@ -693,56 +693,6 @@ diff --git sc/source/core/data/table2.cxx sc/source/core/data/table2.cxx
 index ce2705d..01b268e 100644
 --- sc/source/core/data/table2.cxx
 +++ sc/source/core/data/table2.cxx
-@@ -64,6 +64,49 @@
- 
- #include <math.h>
- 
-+
-+#include <stdio.h>
-+#include <string>
-+#include <sys/time.h>
-+
-+namespace {
-+
-+class StackPrinter
-+{
-+public:
-+    explicit StackPrinter(const char* msg) :
-+        msMsg(msg)
-+    {
-+        fprintf(stdout, "%s: --begin\n", msMsg.c_str());
-+        mfStartTime = getTime();
-+    }
-+
-+    ~StackPrinter()
-+    {
-+        double fEndTime = getTime();
-+        fprintf(stdout, "%s: --end (duration: %g sec)\n", msMsg.c_str(), (fEndTime-mfStartTime));
-+    }
-+
-+    void printTime(int line) const
-+    {
-+        double fEndTime = getTime();
-+        fprintf(stdout, "%s: --(%d) (duration: %g sec)\n", msMsg.c_str(), line, (fEndTime-mfStartTime));
-+    }
-+
-+private:
-+    double getTime() const
-+    {
-+        timeval tv;
-+        gettimeofday(&tv, NULL);
-+        return tv.tv_sec + tv.tv_usec / 1000000.0;
-+    }
-+
-+    ::std::string msMsg;
-+    double mfStartTime;
-+};
-+
-+}
-+
- // STATIC DATA -----------------------------------------------------------
- 
- 
 @@ -120,15 +163,16 @@ void ScTable::InsertRow( SCCOL nStartCol, SCCOL nEndCol, SCROW nStartRow, SCSIZE
      nRecalcLvl++;
      if (nStartCol==0 && nEndCol==MAXCOL)


More information about the ooo-build-commit mailing list