Kaydet (Commit) 67031e8d authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#703983 Unchecked return value

Change-Id: I83fe85a50e6e98da02a7c46a9e0c07a043244d56
üst f9b08152
...@@ -362,7 +362,7 @@ void ScTable::FillAnalyse( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, ...@@ -362,7 +362,7 @@ void ScTable::FillAnalyse( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
rListData = (ScUserListData*)(ScGlobal::GetUserList()->GetData(aStr)); rListData = (ScUserListData*)(ScGlobal::GetUserList()->GetData(aStr));
if (rListData) if (rListData)
{ {
rListData->GetSubIndex(aStr, rListIndex); (void)rListData->GetSubIndex(aStr, rListIndex);
nCol = sal::static_int_cast<SCCOL>( nCol + nAddX ); nCol = sal::static_int_cast<SCCOL>( nCol + nAddX );
nRow = sal::static_int_cast<SCROW>( nRow + nAddY ); nRow = sal::static_int_cast<SCROW>( nRow + nAddY );
for (sal_uInt16 i=1; i<nCount && rListData; i++) for (sal_uInt16 i=1; i<nCount && rListData; i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment