[Libreoffice-commits] core.git: reportdesign/source
Noel Grandin
noel.grandin at collabora.co.uk
Tue Oct 3 12:04:22 UTC 2017
reportdesign/source/ui/report/ReportSection.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 8481019c8c57459494b931aeec0915317204a05b
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Tue Oct 3 11:35:55 2017 +0200
tdf#112848 Assert when clicking on report wizard or design view
the StartListening call here is unnecessary because OSectionView
inherits from SdrMarkView which calls StartListening unconditionally in
it's constructor.
Change-Id: I0191fce12e0600cc8fc6b9cc20e7e3bf39b386d3
Reviewed-on: https://gerrit.libreoffice.org/43070
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx
index 81eab1451313..d857c215f155 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -229,7 +229,6 @@ void OReportSection::fill()
m_pView->SetDesignMode();
- m_pView->StartListening( *m_pModel );
m_pPage->SetSize( Size( getStyleProperty<awt::Size>(xReportDefinition,PROPERTY_PAPERSIZE).Width,5*m_xSection->getHeight()) );
const Size aPageSize = m_pPage->GetSize();
m_pView->SetWorkArea( tools::Rectangle( Point( nLeftMargin, 0), Size(aPageSize.Width() - nLeftMargin - nRightMargin,aPageSize.Height()) ) );
More information about the Libreoffice-commits
mailing list