[Libreoffice-commits] .: editeng/source
Nigel Hawkins
nhawkins at kemper.freedesktop.org
Wed Mar 9 23:05:46 PST 2011
editeng/source/editeng/impedit3.cxx | 2 +-
editeng/source/misc/txtrange.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 51cb8510c1e017e1baba60dfc5281f7818d2b6c2
Author: Nigel Hawkins <n.hawkins at gmx.com>
Date: Thu Mar 10 06:58:30 2011 +0000
Fix build breakage inside DBG_ASSERTs
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 9b13c89..5ba6d36 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -870,7 +870,7 @@ sal_Bool ImpEditEngine::CreateLines( USHORT nPara, sal_uInt32 nStartPosY )
// Den breitesten Bereich verwenden...
// Der breiteste Bereich koennte etwas verwirren, also
// generell den ersten. Am besten mal richtig mit Luecken.
-// for ( sal_uInt16 n = 0; n < pTextRanges->Count(); )
+// for ( sal_uInt16 n = 0; n < pTextRanges->size(); )
if ( pTextRanges->size() )
{
sal_uInt16 n = 0;
diff --git a/editeng/source/misc/txtrange.cxx b/editeng/source/misc/txtrange.cxx
index cc4c926..4abb4e6 100644
--- a/editeng/source/misc/txtrange.cxx
+++ b/editeng/source/misc/txtrange.cxx
@@ -418,7 +418,7 @@ void SvxBoundArgs::Calc( const PolyPolygon& rPoly )
}
if( !bMultiple )
{
- DBG_ASSERT( pLongArr->Count() == 0, "I said: Simple!" );
+ DBG_ASSERT( pLongArr->size() == 0, "I said: Simple!" );
if( nAct )
{
if( bInner )
@@ -477,7 +477,7 @@ void SvxBoundArgs::Add()
bDelete = nBoolIdx < nCount && aBoolArr[ nBoolIdx ];
nLongIdx += 2;
DBG_ASSERT( nLongIdx == 2*nBoolIdx+1, "BoundArgs: Array-Idx Confusion" );
- DBG_ASSERT( aBoolArr.size()*2 == pLongArr->Count(),
+ DBG_ASSERT( aBoolArr.size()*2 == pLongArr->size(),
"BoundArgs: Array-Count: Confusion" );
}
}
More information about the Libreoffice-commits
mailing list