[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:20:53 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=112848
--- Comment #3 from Julien Nabet <serval2412 at yahoo.fr> ---
Noel:
noticing there was a StartListening in SdrMarkView constructor, I tried to add
one in destructor too:
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 73a79d4bb983..ee1bf26c2a5b 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -158,6 +158,7 @@ SdrMarkView::SdrMarkView(SdrModel* pModel1, OutputDevice*
pOut)
SdrMarkView::~SdrMarkView()
{
+ EndListening(*mpModel);
// Migrate selections
BrkMarkObj();
BrkMarkPoints();
No better.
Then, I just commented the line in ReportSection.cxx:
diff --git a/reportdesign/source/ui/report/ReportSection.cxx
b/reportdesign/source/ui/report/ReportSection.cxx
index 81eab1451313..91a624b6b9bf 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -229,7 +229,7 @@ void OReportSection::fill()
m_pView->SetDesignMode();
- m_pView->StartListening( *m_pModel );
+ //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()) ) );
and finally got report wizard/design opened.
Since I don't know how these things work (even after having read the comments
of your quoted commit), I haven't submitted them in gerrit.
--
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/3490d2b4/attachment.html>
More information about the Libreoffice-bugs
mailing list