[Libreoffice-commits] .: sw/source

Nigel Hawkins nhawkins at kemper.freedesktop.org
Wed Mar 9 13:16:12 PST 2011


 sw/source/core/text/txtfly.cxx |    4 ++--
 sw/source/core/text/txtfly.hxx |    1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit aa9a3810fc2fda1b2ccda46e210172cc76d4f36d
Author: Nigel Hawkins <n.hawkins at gmx.com>
Date:   Wed Mar 9 17:14:52 2011 +0000

    Remove use of SvLongs from txtfly.[ch]xx
    
    Note that this commit is forced by changes in editeng.

diff --git a/sw/source/core/text/txtfly.cxx b/sw/source/core/text/txtfly.cxx
index d76a1be..36512cb 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 82f78c3..2fdaef7 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"


More information about the Libreoffice-commits mailing list