Kaydet (Commit) 78e4da91 authored tarafından Matúš Kukan's avatar Matúš Kukan

datastreams: Broadcast data changes.

Change-Id: Iedf07a9ef59a695cb56c2e160f269cd5d542735b
üst dbdc31fc
......@@ -378,6 +378,7 @@ void DataStream::Text2Doc()
aDocImport.setNumericCell(aAddress, aCell.toDouble());
else
aDocImport.setStringCell(aAddress, aCell);
mpScDocument->Broadcast(ScHint(SC_HINT_DATACHANGED, aAddress));
}
++nCol;
}
......@@ -418,10 +419,12 @@ bool DataStream::ImportData()
else
aDocImport.setStringCell(aAddress, sValue);
aRangeList.Join(aAddress);
mpScDocument->Broadcast(ScHint(SC_HINT_DATACHANGED, aAddress));
}
aDocImport.finalize();
mpScDocShell->PostPaint( aRangeList, PAINT_GRID );
}
mpScDocShell->SetDocumentModified();
if (meMove == NO_MOVE)
return mbRunning;
......
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