summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-08-08 10:01:49 -0400
committerAndras Timar <andras.timar@collabora.com>2014-08-21 21:24:34 +0200
commita3ab80ffce5350cbce3645847565ad687411cc32 (patch)
tree8775632e3a0f63ada0b0799f4771ffd11767c86e /sc
parent358428c90e383082fcb6089722b33337b23a8d4a (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 (cherry picked from commit 2a6843cb6c44305ac62c9cd1098a3eec4abaeb7e) Reviewed-on: https://gerrit.libreoffice.org/10830 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-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.