cid#1546008 silence Using invalid iterator
Change-Id: I76043da245d47d10993361235425f48b7f6d4034 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157359 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
77d1affc86
commit
c5d512203e
1 changed files with 1 additions and 1 deletions
|
@ -715,7 +715,7 @@ void SAL_CALL uno_revokeMapping(
|
|||
ClearableMutexGuard aGuard( rData.aMappingsMutex );
|
||||
|
||||
const t_Mapping2Entry::const_iterator iFind( rData.aMapping2Entry.find( pMapping ) );
|
||||
OSL_ASSERT( iFind != rData.aMapping2Entry.end() );
|
||||
assert(iFind != rData.aMapping2Entry.end() && "pMapping must be registered to be removed");
|
||||
MappingEntry * pEntry = (*iFind).second;
|
||||
if (! --pEntry->nRef)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue