Issue 98481

Summary: crash when exporting document to pdf
Product: Writer Reporter: sven.jacobi
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: DEV300 m39   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description sven.jacobi 2009-01-26 13:50:33 UTC
If exporting the document attached in issue 98402 I got a crash in 
sw/source/core/text/EnhancedPDFExportHelper.cxx line 390. There following code
leads to a crash because the iterator returned by find is empty.

FrmTagIdMap& rFrmTagIdMap = SwEnhancedPDFExportHelper::GetFrmTagIdMap();
const FrmTagIdMap::const_iterator aIter =  rFrmTagIdMap.find( pKey );
nReopenTag = (*aIter).second;

I am not sure, if it is an error if the key is not available, or if it
sufficient just to check the iterator.
And of course other people are not crashing, seems I have different pdf export
settings.