[Libreoffice-commits] .: svx/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Mar 4 07:38:42 PST 2011


 svx/source/svdraw/svdattr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5e30dec97089f3f471f850b17ebacdb351c11182
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Mar 4 15:37:57 2011 +0000

    fix Count() -> size() in DBG_UTIL mode

diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index f7ccb3f..174e7f4 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -1553,7 +1553,7 @@ SfxPoolItem* SdrCustomShapeAdjustmentItem::Clone( SfxItemPool * /*pPool*/) const
 const SdrCustomShapeAdjustmentValue& SdrCustomShapeAdjustmentItem::GetValue( sal_uInt32 nIndex ) const
 {
 #ifdef DBG_UTIL
-    if ( aAdjustmentValueList.Count() <= nIndex )
+    if ( aAdjustmentValueList.size() <= nIndex )
         OSL_FAIL( "SdrCustomShapeAdjustemntItem::GetValue - nIndex out of range (SJ)" );
 #endif
     return aAdjustmentValueList[nIndex];


More information about the Libreoffice-commits mailing list