diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-03-18 17:29:08 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-03-18 17:29:08 +0100 |
commit | 59c73f014174f96d469eeb50ed2c11c890ecc944 (patch) | |
tree | 59888aed5ab14a59eac9b187ba0fb2cb73d6e3ac | |
parent | 15c98e06488d2d0e112525f8e7aff2eb3f21f39a (diff) |
Some ULONGs got in, get rid of them.
-rw-r--r-- | sw/source/core/docnode/nodes.cxx | 6 |
1 files 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 |