From 59c73f014174f96d469eeb50ed2c11c890ecc944 Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Fri, 18 Mar 2011 17:29:08 +0100 Subject: Some ULONGs got in, get rid of them. --- sw/source/core/docnode/nodes.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx index b7ca7c0f5c77..09552cd1d5c8 100644 --- a/sw/source/core/docnode/nodes.cxx +++ b/sw/source/core/docnode/nodes.cxx @@ -1998,7 +1998,7 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange, pDoc->GetNodes().GetEndOfInserts().StartOfSectionIndex() < aInsPos.GetIndex() ) { - ULONG nDistance = + sal_uLong nDistance = ( pAktNode->EndOfSectionIndex() - aRg.aStart.GetIndex() ); if (nDistance < nNodeCnt) @@ -2039,7 +2039,7 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange, SwNodeIndex nStt( aInsPos, -1 ); SwTableNode* pTblNd = ((SwTableNode*)pAktNode)-> MakeCopy( pDoc, aInsPos ); - ULONG nDistance = aInsPos.GetIndex() - nStt.GetIndex() - 2; + sal_uLong nDistance = aInsPos.GetIndex() - nStt.GetIndex() - 2; if (nDistance < nNodeCnt) nNodeCnt -= nDistance; else @@ -2067,7 +2067,7 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange, SwSectionNode* pSectNd = ((SwSectionNode*)pAktNode)-> MakeCopy( pDoc, aInsPos ); - ULONG nDistance = aInsPos.GetIndex() - nStt.GetIndex() - 2; + sal_uLong nDistance = aInsPos.GetIndex() - nStt.GetIndex() - 2; if (nDistance < nNodeCnt) nNodeCnt -= nDistance; else -- cgit