https://bugs.documentfoundation.org/show_bug.cgi?id=158862

--- Comment #8 from Mike Kaganski <[email protected]> ---
(In reply to Julien Nabet from comment #7)
> The pb is m_pDocShell->GetDoc() returns null whereas macro just created
> ""com.sun.star.text.TextDocument" object. Synchro pb?

No, it is correct: there is no document in the "com.sun.star.text.TextDocument"
UNO object created like this (see Writer_SwTextDocument_get_implementation).
The code in sw/source/uibase/uno/unotxdoc.cxx wrongly expects
m_pDocShell->GetDoc() to return a non-null value. In line 2085, there should be
a check for this (and I bet, that there will be lots of similar things over the
file).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to