summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docfunc.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-02 19:16:14 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-03-02 19:16:14 -0500
commitd022492ef9fccd24a6677dd2be182bcd955593a3 (patch)
treedb1ffe6646ef28259b91a59e28950b4d4f9d6ae8 /sc/source/ui/docshell/docfunc.cxx
parent3e6eb38766e0a678edce22c9133f3d2d385e8ae6 (diff)
Actually this will just do....
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r--sc/source/ui/docshell/docfunc.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index cc0d3e9955bc..853bd50e9a88 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -553,8 +553,7 @@ static void lcl_collectAllPredOrSuccRanges(
ScRange* p = aSrcRanges.front();
ScDetectiveFunc aDetFunc(pDoc, p->aStart.Tab());
ScRangeList aDestRanges;
- size_t i = 0;
- for (size_t n = aSrcRanges.size(); i < n; ++i)
+ for (size_t i = 0, n = aSrcRanges.size(); i < n; ++i)
{
p = aSrcRanges[i];
if (bPred)