summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/printfun.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-02-11 22:37:44 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-02-11 22:37:44 -0500
commitacfcebd01eb0cf3503491a5e52b60a2f454b63a8 (patch)
treeab4585a711420bcab92f8fb16e67fad741e69860 /sc/source/ui/view/printfun.cxx
parent5f61d6da668ba7d14f8cdf390aad4f12fc6900bd (diff)
Cleaned up RowHidden() and ColHidden() calls.
There were two versions of each; let's just keep one and remove the other.
Diffstat (limited to 'sc/source/ui/view/printfun.cxx')
-rw-r--r--sc/source/ui/view/printfun.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx
index 48b6f3b1a3e4..71cdeb26b3fc 100644
--- a/sc/source/ui/view/printfun.cxx
+++ b/sc/source/ui/view/printfun.cxx
@@ -3045,10 +3045,9 @@ void ScPrintFunc::CalcPages() // berechnet aPageRect und Seiten au
nTotalY = 0;
bool bVisCol = false;
- SCCOL nLastCol = -1;
for (SCCOL i=nStartCol; i<=nEndCol; i++)
{
- bool bHidden = pDoc->ColHidden(i, nPrintTab, nLastCol);
+ bool bHidden = pDoc->ColHidden(i, nPrintTab);
bool bPageBreak = (pDoc->HasColBreak(i, nPrintTab) & BREAK_PAGE);
if ( i>nStartCol && bVisCol && bPageBreak )
{