summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2013-12-12 10:49:07 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2013-12-12 14:47:57 +0100
commit78e4da913c12867ce6f2607a4a05bda66e73a213 (patch)
tree709df2a4389406f7b3a9a536589e990ec8f7e46f
parentdbdc31fc0a09181d80909819d93a2dacde3eac79 (diff)
datastreams: Broadcast data changes.
Change-Id: Iedf07a9ef59a695cb56c2e160f269cd5d542735b
-rw-r--r--sc/source/ui/docshell/datastream.cxx3
1 files changed, 3 insertions, 0 deletions
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;