summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docfunc.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-09-09 22:08:28 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-09-12 13:22:05 -0400
commitf1f4c877304cf3cd040d5402481a9ff6c73a0ab9 (patch)
tree0b3e17644f051731347c84c689f6c2be1799927a /sc/source/ui/docshell/docfunc.cxx
parentcb0f9de5bce9622bd98582a6f69ceb10a93402c4 (diff)
Some attempts to remove the 8-param variant of PostPaint().
But there are way too many codes calling that one. Maybe someday...
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r--sc/source/ui/docshell/docfunc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index dbb567ff455f..6dad099859a0 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -178,8 +178,8 @@ sal_Bool ScDocFunc::AdjustRowHeight( const ScRange& rRange, sal_Bool bPaint )
aProv.GetPPTX(), aProv.GetPPTY(), aOne, aOne, false );
if ( bPaint && bChanged )
- rDocShell.PostPaint( 0, nStartRow, nTab, MAXCOL, MAXROW, nTab,
- PAINT_GRID | PAINT_LEFT );
+ rDocShell.PostPaint(ScRange(0, nStartRow, nTab, MAXCOL, MAXROW, nTab),
+ PAINT_GRID | PAINT_LEFT);
return bChanged;
}