[Libreoffice-commits] .: sc/source
Thorsten Behrens
thorsten at kemper.freedesktop.org
Tue Dec 14 16:51:47 PST 2010
sc/source/filter/excel/xecontent.cxx | 2 +-
sc/source/ui/unoobj/cellsuno.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 568229e5a07ab0082b7c172f48a2905abbb112a1
Author: Thorsten Behrens <tbehrens at novell.com>
Date: Wed Dec 15 01:42:27 2010 +0100
Fix dbgutil build
diff --git a/sc/source/filter/excel/xecontent.cxx b/sc/source/filter/excel/xecontent.cxx
index 8687500..50ee7fc 100644
--- a/sc/source/filter/excel/xecontent.cxx
+++ b/sc/source/filter/excel/xecontent.cxx
@@ -332,7 +332,7 @@ void XclExpMergedcells::AppendRange( const ScRange& rRange, sal_uInt32 nBaseXFId
sal_uInt32 XclExpMergedcells::GetBaseXFId( const ScAddress& rPos ) const
{
- DBG_ASSERT( maBaseXFIds.size() == maMergedRanges.Count(), "XclExpMergedcells::GetBaseXFId - invalid lists" );
+ DBG_ASSERT( maBaseXFIds.size() == maMergedRanges.size(), "XclExpMergedcells::GetBaseXFId - invalid lists" );
ScfUInt32Vec::const_iterator aIt = maBaseXFIds.begin();
ScRangeList& rNCRanges = const_cast< ScRangeList& >( maMergedRanges );
for ( size_t i = 0, nRanges = rNCRanges.size(); i < nRanges; ++i, ++aIt )
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index fa2a6a6..a7d6708 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -7017,7 +7017,7 @@ uno::Reference<sheet::XSheetCellCursor> SAL_CALL ScTableSheetObj::createCursorBy
if (pRangesImp)
{
const ScRangeList& rRanges = pRangesImp->GetRangeList();
- DBG_ASSERT( rRanges.Count() == 1, "Range? Ranges?" );
+ DBG_ASSERT( rRanges.size() == 1, "Range? Ranges?" );
return new ScCellCursorObj( pDocSh, *rRanges[ 0 ] );
}
}
More information about the Libreoffice-commits
mailing list