summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2010-03-11 12:57:16 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2010-03-11 12:57:16 +0100
commit88820339f4ee0a126bc686b5fde6812abd07490e (patch)
tree4499ac7ae1e759236f5f13276c20dd379777b109
parentb5b7713079653182986e6a8d781ff8c930c5cd0d (diff)
masterfix DEV300: #i10000# WaE fixooo/DEV300_m75
-rw-r--r--sc/source/ui/unoobj/chart2uno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx
index c8aefbaf8..67d9301be 100644
--- a/sc/source/ui/unoobj/chart2uno.cxx
+++ b/sc/source/ui/unoobj/chart2uno.cxx
@@ -191,7 +191,7 @@ struct TokenTable
void push_back( FormulaToken* pToken )
{
maTokens.push_back( pToken );
- DBG_ASSERT( maTokens.size()<=mnColCount*mnRowCount, "too much tokens" );
+ DBG_ASSERT( maTokens.size()<= static_cast<sal_uInt32>( mnColCount*mnRowCount ), "too much tokens" );
}
sal_uInt32 getIndex(SCCOL nCol, SCROW nRow) const
@@ -199,7 +199,7 @@ struct TokenTable
DBG_ASSERT( nCol<mnColCount, "wrong column index" );
DBG_ASSERT( nRow<mnRowCount, "wrong row index" );
sal_uInt32 nRet = static_cast<sal_uInt32>(nCol*mnRowCount + nRow);
- DBG_ASSERT( maTokens.size()>=mnColCount*mnRowCount, "too few tokens" );
+ DBG_ASSERT( maTokens.size()>= static_cast<sal_uInt32>( mnColCount*mnRowCount ), "too few tokens" );
return nRet;
}