diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-28 23:43:49 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-29 00:04:24 -0500 |
commit | 4bbef9595f12dd5ac3c6f4558f4d466f84b8f5ad (patch) | |
tree | cb8dd02f6d68e8fb5843edb983e2c3376d9cfb54 /sc/source/ui/view | |
parent | 8ea81446029b314ae78e45fddb64903ea6ac5509 (diff) |
Arg to CalcPages() no longer used.
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r-- | sc/source/ui/view/preview.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/view/preview.cxx b/sc/source/ui/view/preview.cxx index fb72a8b74c41..19fc66a40704 100644 --- a/sc/source/ui/view/preview.cxx +++ b/sc/source/ui/view/preview.cxx @@ -223,7 +223,7 @@ void ScPreview::TestLastPage() } -void ScPreview::CalcPages( SCTAB /*nToWhichTab*/ ) +void ScPreview::CalcPages() { WaitObject( this ); @@ -314,7 +314,7 @@ void ScPreview::RecalcPages() // nur nPageNo geaendert bool bDone = false; while (nPageNo >= nTotalPages && nTabsTested < nTabCount) { - CalcPages( nTabsTested ); + CalcPages(); bDone = true; } @@ -351,7 +351,7 @@ void ScPreview::DoPrint( ScPreviewLocationData* pFillLocation ) { if (!bValid) { - CalcPages(0); + CalcPages(); RecalcPages(); UpdateDrawView(); // Tabelle evtl. geaendert } @@ -674,7 +674,7 @@ String ScPreview::GetPosString() { if (!bValid) { - CalcPages(nTab); + CalcPages(); UpdateDrawView(); // Tabelle evtl. geaendert } @@ -742,7 +742,7 @@ long ScPreview::GetFirstPage(SCTAB nTabP) long nPage = 0; if (nTabP>0) { - CalcPages( nTabP ); + CalcPages(); UpdateDrawView(); // Tabelle evtl. geaendert for (SCTAB i=0; i<nTabP; i++) |