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

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Jan 27 08:20:41 PST 2010


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

New commits:
commit 3bc4182025cfd840c2420b5534d6a1e7e38fd9a2
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Jan 27 11:23:02 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 042d69c..994682c 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -3310,6 +3310,8 @@ calc-perf-copy-table-flags.diff, n#514156, kohei
 # less than 1000.
 calc-perf-rowheight-no-progress-bar.diff, n#514156, kohei
 
+# fix for print selected cells functionality.
+calc-print-selected-cells-fix.diff, n#569328, kohei
 
 [ OOXMLExport ]
 oox-calc-export-row-limit.diff, n#504623, janneke.
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