To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=69366
                 Issue #|69366
                 Summary|supportsService on Textportion type "Frame" crashes OO
                        |o
               Component|api
                 Version|OOo 2.0.3
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|mux2005





------- Additional comments from [EMAIL PROTECTED] Thu Sep  7 08:43:02 -0700 
2006 -------
The attached document contains a horizontal line that is anchored as character,
so it appears as TextPortion in the XEnumeration for the paragraph. It has
TextPortionType "Frame". If you attempt to call supportsService on this
TextPortion, the whole OOo crashes. 

The included macro demonstrates this. Just let it run and your OOo will crash
hard. Tested on Linux and Windows with OOo Basic and Java. 

The macro tries to test for a nonsense-service "foo", but the crash is NOT
related to this. It also occurs when testing for legitimate services. Xray also
crashes when trying to list Services for this object as does a program we use
internally so it seems that the getAvailableServiceNames() method is broken, 
too.

This crash is not an exotic fringe case. We found this during our migration
project. It affects several dozens of our documents and we'll have to rewrite
our production code to work around this.

---------------------------------------------------------------------
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