[Libreoffice-bugs] [Bug 139655] SIGSEGV in XSpreadsheetDocument::getSheets()
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 16 10:03:38 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=139655
--- Comment #2 from Erik Sohns <erik.sohns at posteo.de> ---
this is already a minimal setup. I use XComponentLoader::loadComponentFromURL()
and cast the result to sheet::XSpreadSheetDocument. I assert that the cast
works with the .is() method(s). i.e.
component_ = component_loader_p->loadComponentFromURL()
assert (component_.is ());
document_.set (component_, uno::UNO_QUERY);
assert (document_.is ());
spreadsheets_p = document_->getSheets (); // <<-- SIGSEGV
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210116/c7cbc11c/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list