[Libreoffice-bugs] [Bug 112848] Assert when clicking on report wizard or design view ( enable-dbgutil)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 2 20:26:49 UTC 2017


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

--- Comment #4 from Julien Nabet <serval2412 at yahoo.fr> ---
Taking a look to OReportSection::fill(), I noticed this:
m_pModel =
m_pParent->getViewsWindow()->getView()->getReportView()->getController().getSdrModel();
(see
https://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/report/ReportSection.cxx#185)
but controller already uses StartListening:
   1737 bool OReportController::Construct(vcl::Window* pParent)
   1738 {
   1739     VclPtrInstance<ODesignView> pMyOwnView( pParent, m_xContext, *this
);
   1740     StartListening( *pMyOwnView );
   1741     setView( pMyOwnView );
   1742 
   1743     // now that we have a view we can create the clipboard listener
   1744     m_aSystemClipboard =
TransferableDataHelper::CreateFromSystemClipboard( getView() );
   1745     m_aSystemClipboard.StartClipboardListening( );
   1746     m_pClipboardNotifier = new TransferableClipboardListener( LINK(
this, OReportController, OnClipboardChanged ) );
   1747     m_pClipboardNotifier->AddListener( getView() );
   1748 
   1749     OReportController_BASE::Construct(pParent);
   1750     return true;
   1751 }
(see
https://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/report/ReportController.cxx#1737)

-- 
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/20171002/39e8c280/attachment.html>


More information about the Libreoffice-bugs mailing list