summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
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 837e477cf287..052e2a3f4f75 100644
--- a/basctl/source/basicide/linenumberwindow.cxx
+++ b/basctl/source/basicide/linenumberwindow.cxx
@@ -83,8 +83,8 @@ void LineNumberWindow::Paint( const Rectangle& )
}
sal_Int64 y = (nStartLine - 1) * nLineHeight;
- for(int n = nStartLine; n <= nEndLine; ++n, y += nLineHeight)
- DrawText(Point(0, y - m_nCurYOffset), String::CreateFromInt32(n));
+ for(sal_Int32 n = nStartLine; n <= nEndLine; ++n, y += nLineHeight)
+ DrawText(Point(0, y - m_nCurYOffset), rtl::OUString::valueOf(n));
}
void LineNumberWindow::DataChanged(DataChangedEvent const & rDCEvt)