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
commitf2cf0b3fde3d8577260c8b12e380d23a27dbae17 (patch)
tree85647f0da3ec8795c1f2a39d844017d790e9fe2f
parent5f1c72ae4e8a5d32a30e2ad9f4b2d9ec29701a63 (diff)
masterfix DEV300: #i10000# WaE fix
Notes
split repo tag: calc_ooo/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 46961609939a..8654de8a429e 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;
}