I've filed an Issue #50692 for the crash-down. Thank you!

Regards,

Yu
----------------------原邮件-------------------
Liao Yu wrote:
> Hi,
> When I tried to query an XTextRange interface from an any-
> type Selection returned by XModel.getCurrentSelection(), 
I 
> always got a null pointer. I also tried other interfaces 
> such as XText, but none of them worked. So I've been 
> wondering if I could query Interfaces from the Selection 
> via UnoRuntime.queryInterface? And if I can, what 
> interfaces does the Selection support? Thank you in 
advance!

IIRC the Selection in Writer returns a Sequence of 
TextRanges.

> BTW, I've put the TextViewCursor crash-down problem on 
the 
> mail-list twice but it is still unanswered. Is it because 
> it's not described clearly enough? It's really preciated 
> that someone give me advice on it! Thank you!

Possibly noone has an explanation for the crash except that 
it could be
a bug. Did you file an issue (perhaps with an attached call 
stack of the
crash)?

Best regards,
Mathias

-- 
Mathias Bauer - OpenOffice.org Application Framework 
Project Lead
Please reply to the list only, [EMAIL PROTECTED] is a 
spam sink.

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