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

--- Comment #4 from Julien Nabet <[email protected]> ---
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.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to