Kaydet (Commit) 9527eeec authored tarafından Caolán McNamara's avatar Caolán McNamara

fix double delete on loading ooo123605-1.odt

if there are no listeners to send the event to then don't
acquire and release the Source in the temporary used by forEach
and so avoid double-releasing on loading ooo123605-1.odt

Change-Id: I6843042d7cf8c0ffee01c7d519299fcb05b29a4e
üst e92c8bc8
......@@ -109,6 +109,8 @@ using ::editeng::SvxBorderLine;
static void lcl_SendChartEvent(::cppu::OWeakObject & rSource,
::cppu::OInterfaceContainerHelper & rListeners)
{
if (!rListeners.getLength())
return;
//TODO: find appropriate settings of the Event
chart::ChartDataChangeEvent event;
event.Source = & rSource;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment