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

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Jan 27 07:03:37 PST 2010


 patches/dev300/apply                              |    3 +++
 patches/dev300/calc-print-selected-cells-fix.diff |   13 +++++++++++++
 2 files changed, 16 insertions(+)

New commits:
commit 88ffff08f56f252264b491d0022e05d0d7639747
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Jan 27 10:00:53 2010 -0500

    Re-pagenate the sheet when printing only selected cells.
    
    * patches/dev300/apply:
    * patches/dev300/calc-print-selected-cells-fix.diff: Calc was not
      re-pagenating the sheet when printing only selected cells.  This
      patch fixes it. (n#569328)

diff --git a/patches/dev300/apply b/patches/dev300/apply
index 04f8e36..ab17abc 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -931,6 +931,9 @@ calc-perf-last-rowflags-fix.diff, n#568146, kohei
 # correctly export the heights of hidden rows.
 calc-xls-export-hidden-row-height.diff, n#573938, kohei
 
+# fix for print selected cells functionality.
+calc-print-selected-cells-fix.diff, n#569328, kohei
+
 [ LinuxOnly ]
 # accelerate linking, by extreme cunning i#63927
 # this is an increasingly marginal win ...
diff --git a/patches/dev300/calc-print-selected-cells-fix.diff b/patches/dev300/calc-print-selected-cells-fix.diff
new file mode 100644
index 0000000..30cf3b0
--- /dev/null
+++ b/patches/dev300/calc-print-selected-cells-fix.diff
@@ -0,0 +1,13 @@
+diff --git sc/source/core/data/table5.cxx sc/source/core/data/table5.cxx
+index 5eea2b0..97c6512 100644
+--- sc/source/core/data/table5.cxx
++++ sc/source/core/data/table5.cxx
+@@ -75,7 +75,7 @@ void ScTable::UpdatePageBreaks( const ScRange* pUserArea )
+     if ( !pUserArea && !bPageSizeValid )
+         return;
+ 
+-    if (mbPageBreaksValid)
++    if (!pUserArea && mbPageBreaksValid)
+         return;
+ 
+     SfxStyleSheetBase* pStyle = pDocument->GetStyleSheetPool()->


More information about the ooo-build-commit mailing list