From 78e4da913c12867ce6f2607a4a05bda66e73a213 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Thu, 12 Dec 2013 10:49:07 +0100 Subject: datastreams: Broadcast data changes. Change-Id: Iedf07a9ef59a695cb56c2e160f269cd5d542735b --- sc/source/ui/docshell/datastream.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx index 1d99af24a26b..db974c72e645 100644 --- a/sc/source/ui/docshell/datastream.cxx +++ b/sc/source/ui/docshell/datastream.cxx @@ -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; -- cgit