<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#c3">Comment # 3</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>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.</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>