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

coverity#1209529 Explicit null dereferenced

Change-Id: I3d5f1880deaa43fd4d40f456c0d265c18bb9b9c5
üst 63bfc8ab
......@@ -468,9 +468,7 @@ const NameToIdHash & SwStyleNameMapper::getHashTable ( SwGetPoolIdFromName eFlag
break;
default:
{
// TODO: Is there a better way of failing here?
*pHashPointer = new NameToIdHash( 0 );
return **pHashPointer;
assert(false && "unknown pool family");
}
break;
}
......
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