summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-11-18 11:39:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2011-11-18 11:39:03 +0100
commit28590197df79b89ff15c43636b26dc1dde7a66c8 (patch)
treec81827f06f6d6910d6f40c2862792f01a945e2d1 /basctl
parentcde0485eae048ca2ca8c2d68b48303a1f5031f09 (diff)
-Werror=shadow fix
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/linenumberwindow.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx
index d4f606b53f9e..2f593e9f01d6 100644
--- a/basctl/source/basicide/linenumberwindow.cxx
+++ b/basctl/source/basicide/linenumberwindow.cxx
@@ -57,8 +57,8 @@ void LineNumberWindow::Paint( const Rectangle& )
}
sal_Int64 y = (nStartLine - 1) * nLineHeight;
- for(int i = nStartLine; i <= nEndLine; ++i, y += nLineHeight)
- DrawText(Point(0, y - m_nCurYOffset), String::CreateFromInt32(i));
+ for(int n = nStartLine; n <= nEndLine; ++n, y += nLineHeight)
+ DrawText(Point(0, y - m_nCurYOffset), String::CreateFromInt32(n));
}
void LineNumberWindow::DataChanged(DataChangedEvent const & rDCEvt)