[PATCH] fdo#64826 : fix for track-changes export in DOCX

Adam CloudOn (via Code Review) gerrit at gerrit.libreoffice.org
Thu May 23 01:06:05 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4011

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/11/4011/1

fdo#64826 : fix for track-changes export in DOCX

Change-Id: I44b505f977edcf9e0af2108487870352277ee9f0
---
M sw/source/filter/ww8/docxexport.cxx
1 file changed, 3 insertions(+), 3 deletions(-)



diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index ca46cae..0ceacc05 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -318,6 +318,9 @@
 
 void DocxExport::ExportDocument_Impl()
 {
+    // Set the 'Track Revisions' flag in the settings structure
+    settings.trackRevisions = 0 != ( nsRedlineMode_t::REDLINE_ON & mnRedlineMode );
+
     InitStyles();
 
     // init sections
@@ -824,9 +827,6 @@
       m_nFooters( 0 ),
       m_pVMLExport( NULL )
 {
-    // Set the 'Track Revisions' flag in the settings structure
-    settings.trackRevisions = 0 != ( nsRedlineMode_t::REDLINE_ON & mnRedlineMode );
-
     // Write the document properies
     WriteProperties( );
 

-- 
To view, visit https://gerrit.libreoffice.org/4011
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I44b505f977edcf9e0af2108487870352277ee9f0
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Adam CloudOn <rattles2013 at gmail.com>



More information about the LibreOffice mailing list