diff options
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/linenumberwindow.cxx | 4 |
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) |