To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108345





------- Additional comments from m...@openoffice.org Thu Apr 22 15:05:07 +0000 
2010 -------
hi dtardon,
i've just started looking at your new patch...

this here (lcl_CollectHintSpans):

+        if (pHint->IsCharFmtAttr())

probably seemed obvious to you, but actually, AUTOFMT hints don't have this flag
set!
those are created like this (thints.cxx:1085):
    ASSERT(RES_TXTATR_AUTOFMT == rNew.Which(), "unknown attribute");
    pNew = new SwTxtAttrEnd( rNew, nStt, nEnd );

that's just the base class for all hints with end.

i'm not entirely sure what the other users of the IsCharFmtAttr flag expect,
so i don't know whether a new autofmt class with that flag set would be a good
idea... best to just check the Which()


---------------------------------------------------------------------
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: issues-unsubscr...@sw.openoffice.org
For additional commands, e-mail: issues-h...@sw.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to