summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-10-28 10:55:51 +0200
committerobo <obo@openoffice.org>2010-10-28 10:55:51 +0200
commit50b023a94b59bedf747e1c16e829b8a28d1842a8 (patch)
tree6eedfab8601e54ceffb2aeb7f48f3da7e5511e3a /sc/source/ui/view
parent327536918dc596e12908ec21acd2667f3d717e76 (diff)
parent2b0596f11bbd306efb30e20aadcab561279ec348 (diff)
CWS-TOOLING: integrate CWS calc61
Notes
Notes: split repo tag: calc_ooo/OOO330_m13
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/pfuncache.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/view/pfuncache.cxx b/sc/source/ui/view/pfuncache.cxx
index 6a206ef3eb13..b503d3a73fb7 100644
--- a/sc/source/ui/view/pfuncache.cxx
+++ b/sc/source/ui/view/pfuncache.cxx
@@ -72,6 +72,8 @@ ScPrintFuncCache::ScPrintFuncCache( ScDocShell* pD, const ScMarkData& rMark,
long nThisTab = 0;
if ( rMark.GetTableSelect( nTab ) )
{
+ pDoc->InvalidatePageBreaks( nTab ); // user print area (selection) may be different
+
ScPrintFunc aFunc( pDocSh, pPrinter, nTab, nAttrPage, 0, pSelRange, &aSelection.GetOptions() );
nThisTab = aFunc.GetTotalPages();
nFirstAttr[nTab] = aFunc.GetFirstPageNo(); // from page style or previous sheet