[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Fri Aug 8 12:03:56 PDT 2014


 sc/source/filter/oox/revisionfragment.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 79b9cd12ca9e465d5782c007c80c4aab854d13d1
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Fri Aug 8 10:01:49 2014 -0400

    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 at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

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.


More information about the Libreoffice-commits mailing list