summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Hawkins <n.hawkins@gmx.com>2011-03-09 17:14:52 +0000
committerNigel Hawkins <n.hawkins@gmx.com>2011-03-09 21:11:43 +0000
commitaa9a3810fc2fda1b2ccda46e210172cc76d4f36d (patch)
tree869934f7ba19f35f5408e74a61669c736c13559b
parent108d9a7b62570af70bf5ef44cb4c77277bab4c68 (diff)
Remove use of SvLongs from txtfly.[ch]xx
Note that this commit is forced by changes in editeng.
-rw-r--r--sw/source/core/text/txtfly.cxx4
-rw-r--r--sw/source/core/text/txtfly.hxx1
2 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/core/text/txtfly.cxx b/sw/source/core/text/txtfly.cxx
index d76a1beb08..36512cb68a 100644
--- a/sw/source/core/text/txtfly.cxx
+++ b/sw/source/core/text/txtfly.cxx
@@ -1834,10 +1834,10 @@ const SwRect SwContourCache::ContourRect( const SwFmt* pFmt,
Range aRange( Min( nTmpTop, nTmpBottom ), Max( nTmpTop, nTmpBottom ) );
- SvLongs *pTmp = pTextRanger[ 0 ]->GetTextRanges( aRange );
+ LongDqPtr pTmp = pTextRanger[ 0 ]->GetTextRanges( aRange );
MSHORT nCount;
- if( 0 != ( nCount = pTmp->Count() ) )
+ if( 0 != ( nCount = pTmp->size() ) )
{
MSHORT nIdx = 0;
while( nIdx < nCount && (*pTmp)[ nIdx ] < nXPos )
diff --git a/sw/source/core/text/txtfly.hxx b/sw/source/core/text/txtfly.hxx
index 82f78c3239..2fdaef7d8e 100644
--- a/sw/source/core/text/txtfly.hxx
+++ b/sw/source/core/text/txtfly.hxx
@@ -27,7 +27,6 @@
************************************************************************/
#ifndef _TXTFLY_HXX
#define _TXTFLY_HXX
-#include <svl/svarray.hxx>
#include "swtypes.hxx"
#include "swrect.hxx"