Kaydet (Commit) 7067d930 authored tarafından Eike Rathke's avatar Eike Rathke

coverity#735311 Unchecked return value

assert if fouled

Change-Id: Id3a160ff08907cc7792e93eea9f91997bcc0e2c3
üst 01663645
......@@ -137,7 +137,8 @@ void ScDocument::SetAllRangeNames( const boost::ptr_map<OUString, ScRangeName>&
{
const ScRangeName* pName = itr->second;
SCTAB nTab;
GetTable(itr->first, nTab);
bool bFound = GetTable(itr->first, nTab);
assert(bFound); (void)bFound; // fouled up?
if (pName->empty())
SetRangeName( nTab, NULL );
else
......
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