Commits

Ivo Hinkelmann  committed 5690178

masterfix DEV300: #i10000# WaE fix

  • Participants
  • Parent commits e6da5b8

Comments (0)

Files changed (1)

File sc/source/ui/unoobj/chart2uno.cxx

     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
         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;
     }