summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-11-08 15:27:16 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-11-08 17:18:31 +0000
commit4536eefa32f634658a939f747e4791a678032bcb (patch)
tree146b2aaa1596c4abe24727695eb3b057397cf024 /sw
parentcc7deac7054709fada9b0867d25644f3fdbe2d06 (diff)
longparas: these sal_uInt64s are really xub_StrLens
Change-Id: I5d6222372e79e6ccbcd6529ce5c88b3f082934c6
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/frmedt/fecopy.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index 9c5c0073c310..e695fcb3a241 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -1055,7 +1055,7 @@ sal_Bool SwFEShell::Paste( SwDoc* pClpDoc, sal_Bool bIncludingPageFrames )
SwNodes &rDestNodes = GetDoc()->GetNodes();
xub_StrLen nDestStart = PCURCRSR->GetPoint()->nNode.GetIndex() - nNodesCnt;
- for ( sal_uInt64 nIdx = 0; nIdx <= nNodesCnt; nIdx++ )
+ for (xub_StrLen nIdx = 0; nIdx <= nNodesCnt; ++nIdx)
{
SwTxtNode *pTxtNode = rDestNodes[ nDestStart + nIdx ]->GetTxtNode();
if ( pTxtNode )