From 79b9cd12ca9e465d5782c007c80c4aab854d13d1 Mon Sep 17 00:00:00 2001
From: Kohei Yoshida <kohei.yoshida@collabora.com>
Date: Fri, 8 Aug 2014 10:01:49 -0400
Subject: [PATCH 089/137] 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>
---
sc/source/filter/oox/revisionfragment.cxx | 1 +
1 file changed, 1 insertion(+)
diff --git a/sc/source/filter/oox/revisionfragment.cxx b/sc/source/filter/oox/revisionfragment.cxx
index 463b663..c8c1f14 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.
--
1.9.3