summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-10 22:36:53 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-11 12:06:23 +0100
commit41e055112ea778c7a45d6cc5f0ce32e44bdb031c (patch)
tree83bca8c70dc94beb5ebaad07f432fa135826bc4b /basctl
parentcc84a792f2131d8e5b244f239f5ba71e4ef5d48d (diff)
String::CreateFromInt32->rtl::OUString::valueOf
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)