To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112384
                 Issue #|112384
                 Summary|sw: crash on export of toc to .doc
               Component|Word processor
                 Version|OOo 3.2.1
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|hbrinkm
             Reported by|cmc





------- Additional comments from [email protected] Mon Jun 14 13:34:48 +0000 
2010 -------
https://bugzilla.redhat.com/attachment.cgi?id=422337 shows a crash on export to
.doc of a TOC

The crash is in 

SwTxtFmtColl* pColl = GetExport().pDoc->FindTxtFmtCollByName(sStyle);
if (!pColl->IsAssignedToListLevelOfOutlineStyle() ||
pColl->GetAssignedOutlineStyleLevel() < nTOXLvl)

IIRC its possible to set a list of styles to generate a TOC from, persumably
this crash happens when a style doesn't actually exist in the document.

If so then this simple patch would avoid the problem

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to