summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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];