basctl/source/basicide/linenumberwindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 28590197df79b89ff15c43636b26dc1dde7a66c8 Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Nov 18 11:39:03 2011 +0100 -Werror=shadow fix diff --git a/basctl/source/basicide/linenumberwindow.cxx b/basctl/source/basicide/linenumberwindow.cxx index d4f606b..2f593e9 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) _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits