https://issues.apache.org/ooo/show_bug.cgi?id=123452

--- Comment #5 from [email protected] <[email protected]> ---
(In reply to Ariel Constenla-Haile from comment #2)
> The crash happens in
> http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/text/
> EnhancedPDFExportHelper.cxx?revision=1525917&view=markup#l379
> dereferencing an invalid iterator, so the following solves the crash:
> 
> const FrmTagIdMap::const_iterator aIter = rFrmTagIdMap.find( pKey );
> if ( aIter != rFrmTagIdMap.end() )
>     nReopenTag = (*aIter).second;

This fix is incidentally the same as the one I suggested in attachment 81699 to
fix bug 123409. With both issues having the same root cause I'm adjusting the
duplicate number.

*** This bug has been marked as a duplicate of bug 123409 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to