Commits

Anonymous committed 5690178

masterfix DEV300: #i10000# WaE fix

Comments (0)

Files changed (1)

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;
     }
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.