<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Assert when clicking on report wizard or design view (enable-dbgutil)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=112848#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Assert when clicking on report wizard or design view (enable-dbgutil)"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=112848">bug 112848</a>
from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
<pre>Taking a look to OReportSection::fill(), I noticed this:
m_pModel =
m_pParent->getViewsWindow()->getView()->getReportView()->getController().getSdrModel();
(see
<a href="https://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/report/ReportSection.cxx#185">https://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/report/ReportSection.cxx#185</a>)
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
<a href="https://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/report/ReportController.cxx#1737">https://opengrok.libreoffice.org/xref/core/reportdesign/source/ui/report/ReportController.cxx#1737</a>)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>