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

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Jun 1 15:56:25 PDT 2010


 patches/dev300/calc-perf-extend-print-area.diff |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b76faf965de2bf980bbdb552320f3b615154f212
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Jun 1 18:54:23 2010 -0400

    Fixed incorrect automatic print area assignment.
    
    * patches/dev300/calc-perf-extend-print-area.diff: the old
      code failed to properly set print area when the right end
      has no data cell but just objects (such as chart objects).

diff --git a/patches/dev300/calc-perf-extend-print-area.diff b/patches/dev300/calc-perf-extend-print-area.diff
index 04337c4..72d864e 100644
--- a/patches/dev300/calc-perf-extend-print-area.diff
+++ b/patches/dev300/calc-perf-extend-print-area.diff
@@ -231,8 +231,8 @@ index e55582b..614a9b5 100644
 +                pCell = aIter.next();
              }
 +
-+            rEndCol = nPrintCol;
-+            return;
++            if (nPrintCol > rEndCol)
++                rEndCol = nPrintCol;
          }
 +        nCol = aColData.mnCol1; // move toward 0.
      }


More information about the ooo-build-commit mailing list