summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/pfuncache.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2011-11-28 03:01:52 +0100
committerEike Rathke <erack@redhat.com>2011-11-28 15:25:33 +0100
commitd8a85d728f45826c485eb3d250a394e3462e37a1 (patch)
tree7c5a886ab0e341d2b976af1d8c95b3075fdd6c4d /sc/source/ui/view/pfuncache.cxx
parentb66fb4c3c5c7d1bb6543d84d425b6c4bd654fae3 (diff)
dr78: #i116881# correct handling of cached page breaks for user-defined cell range, remove unused parameter in DoPrint
# HG changeset patch # User Niklas Nebel <nn@openoffice.org> # Date 1297188469 -3600 # Node ID be5ffcd423c49c0045ddeaf11702d44fbde8a8f1 # Parent 3157cd9d60c35f1bcb4c8f56e86cf76ab364e7ee
Diffstat (limited to 'sc/source/ui/view/pfuncache.cxx')
-rw-r--r--sc/source/ui/view/pfuncache.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/view/pfuncache.cxx b/sc/source/ui/view/pfuncache.cxx
index f13b2933d736..cbc20687529a 100644
--- a/sc/source/ui/view/pfuncache.cxx
+++ b/sc/source/ui/view/pfuncache.cxx
@@ -78,8 +78,6 @@ 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.push_back( aFunc.GetFirstPageNo() ); // from page style or previous sheet
@@ -131,7 +129,7 @@ void ScPrintFuncCache::InitLocations( const ScMarkData& rMark, OutputDevice* pDe
aPage.Select( aPageRange );
ScPreviewLocationData aLocData( pDoc, pDev );
- aFunc.DoPrint( aPage, nTabStart, nDisplayStart, false, NULL, &aLocData );
+ aFunc.DoPrint( aPage, nTabStart, nDisplayStart, false, &aLocData );
ScRange aCellRange;
Rectangle aPixRect;