summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-21 09:39:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-21 14:04:41 +0000
commit225e4b750802b67a1b4bf630471c578ddf0d9db1 (patch)
tree37c0d2f343502da779cf800efca479224939ea95 /sw
parente3f30efe9f466e776e19210c0e1bccea97e6be49 (diff)
longparas: safe xub_Strlen->sal_Int32
Change-Id: Id1425d80908aca5c44f028ccc79e597afa175b00
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/docedt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index 18f80baecaf6..e7b957076bc2 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -2764,7 +2764,7 @@ void SwDoc::RemoveLeadingWhiteSpace(const SwPosition & rPos )
if ( pTNd )
{
const OUString& rTxt = pTNd->GetTxt();
- xub_StrLen nIdx = 0;
+ sal_Int32 nIdx = 0;
while (nIdx < rTxt.getLength())
{
sal_Unicode const cCh = rTxt[nIdx];