summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-08-08 10:01:49 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-08-08 10:03:17 -0400
commit2a6843cb6c44305ac62c9cd1098a3eec4abaeb7e (patch)
tree7962b0ae1712beb367ab985bdf505d770a511128
parent35fa84f598f22f724c559e96ad8b3a541079d739 (diff)
bnc#885548: Set the date time mode to non-fixed after the import is done.
So that the new revisions will correctly record time stamps. Change-Id: I7d9b26bed04a95ce2652224faa0f214562818970
-rw-r--r--sc/source/filter/oox/revisionfragment.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/oox/revisionfragment.cxx b/sc/source/filter/oox/revisionfragment.cxx
index 463b66347564..c8c1f1481e4c 100644
--- a/sc/source/filter/oox/revisionfragment.cxx
+++ b/sc/source/filter/oox/revisionfragment.cxx
@@ -270,6 +270,7 @@ void RevisionHeadersFragment::finalizeImport()
}
pCT->SetUser(aSelfUser); // set the default user to the document owner.
+ pCT->SetUseFixDateTime(false);
rDoc.SetChangeTrack(pCT.release());
// Turn on visibility of tracked changes.