diff options
author | Eike Rathke <erack@redhat.com> | 2014-10-31 15:28:41 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-10-31 15:34:28 +0100 |
commit | 7067d930c8390203f49d989b502e4b4ba85f463d (patch) | |
tree | cec1a00258da3c6256731f46ff801e0b140ed516 /sc | |
parent | 016636450ca2fd0675c2f32f28a30b154705584b (diff) |
coverity#735311 Unchecked return value
assert if fouled
Change-Id: Id3a160ff08907cc7792e93eea9f91997bcc0e2c3
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/documen3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index 453c8d6d6758..c5602d99d5df 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -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 |