Kaydet (Commit) f34620b4 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

I should first check whether a broadcaster exists at this position.

Change-Id: I014e2054dda4103bb90b84db3bf20c5efd5dabab
üst 24c5c118
......@@ -1874,8 +1874,12 @@ void ScColumn::FindUsed( SCROW nStartRow, SCROW nEndRow, bool* pUsed ) const
void ScColumn::StartListening( SvtListener& rLst, SCROW nRow )
{
SvtBroadcaster* pBC = new SvtBroadcaster;
SvtBroadcaster* pBC = GetBroadcaster(nRow);
if (!pBC)
{
pBC = new SvtBroadcaster;
maBroadcasters.set(nRow, pBC);
}
rLst.StartListening(*pBC);
}
......
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