summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh3.cxx
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2010-12-08 22:38:24 -0800
committerKohei Yoshida <kyoshida@novell.com>2010-12-09 18:05:21 -0500
commit6eefbb4beea48b007e0a6e8ceeaa800319b9f5d8 (patch)
treeb1b9bb47248baf395774fca931443997e23e5c9a /sc/source/ui/docshell/docsh3.cxx
parentbf9ed0595b1ec5900523f7a2f322c8310f8b6772 (diff)
Remove another DECLARE_LIST() from Calc
Signed-off-by: Kohei Yoshida <kyoshida@novell.com>
Diffstat (limited to 'sc/source/ui/docshell/docsh3.cxx')
-rw-r--r--sc/source/ui/docshell/docsh3.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docsh3.cxx b/sc/source/ui/docshell/docsh3.cxx
index e12bc7dc8e9a..94c10ae7b8df 100644
--- a/sc/source/ui/docshell/docsh3.cxx
+++ b/sc/source/ui/docshell/docsh3.cxx
@@ -261,11 +261,10 @@ void ScDocShell::UnlockPaint_Impl(BOOL bDoc)
if (xRangeList)
{
USHORT nParts = pPaint->GetParts();
- ULONG nCount = xRangeList->Count();
- for ( ULONG i=0; i<nCount; i++ )
+ for ( size_t i = 0, nCount = xRangeList->size(); i < nCount; i++ )
{
//! nExtFlags ???
- ScRange aRange = *xRangeList->GetObject(i);
+ ScRange aRange = *xRangeList->at( i );
PostPaint( aRange.aStart.Col(), aRange.aStart.Row(), aRange.aStart.Tab(),
aRange.aEnd.Col(), aRange.aEnd.Row(), aRange.aEnd.Tab(),
nParts );