http://openoffice.org/bugzilla/show_bug.cgi?id=117193

        Issue Type: DEFECT
           Summary: [sw] crash in SwTxtNode::impl_FmtToTxtAttr
    Classification: Application
           Product: Word processor
           Version: OOo 3.3
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: regression
          Priority: P3
         Component: code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


the stack trace id for this is: 1203697

managed to reproduce it:

1. split paragraph (both paras have default formatting)
2. first para: set italic on => para autostyle has italic
3. enter some text in first para, and in second para
4. first para: mark part of text, apply char style "Emphasis"
5. on the same text range marked in 4.:
   _additionally_ apply char style "Strong Emphasis" (shift+doubleclick)
6. join both paragraphs
7. crash with NULL pItem in RemovePresentAttrs::operator()

this is a regression from OOo 3.2, introduced by the fix for issue 108345.

after fixing this crash i've noticed an assertion on this scenario,
which is caused by a hint with end < start.
reason is a wrong comparison in lcl_CollectHintSpans,
which does not handle multiple hints with same start+end correctly.
damn... why haven't i tested this case back then...

-- 
Configure bugmail: http://openoffice.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification
from Bugzilla. Please log into the website and enter your comments.
---------------------------------------------------------------------
--
------------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected] with Subject: help
--
------------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected] with Subject: help

Reply via email to