[Libreoffice-commits] core.git: officecfg/registry unotools/source

Vitaliy Anderson vanderson at smartru.com
Wed Feb 1 12:57:29 UTC 2017


 officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs |   12 ++++++++++
 unotools/source/config/compatibility.cxx                          |    2 -
 2 files changed, 13 insertions(+), 1 deletion(-)

New commits:
commit 734c005875a707d61531a7c956c0063945422705
Author: Vitaliy Anderson <vanderson at smartru.com>
Date:   Wed Feb 1 03:42:36 2017 -0800

    Compatibility options refactoring. Part 1 small fix
    
    Add missing recommended formatting options in Compatibility.xcs
    Correct ConfigItem rootnode path for SvtCompatibilityOptions_Impl
    
    Change-Id: I1e56b276bf4a0801ab724baaecda53168783b27f
    Reviewed-on: https://gerrit.libreoffice.org/33786
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs
index 12179ba..90394f2 100644
--- a/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs
+++ b/officecfg/registry/schema/org/openoffice/Office/Compatibility.xcs
@@ -104,6 +104,18 @@
         </info>
         <value>true</value>
       </prop>
+      <prop oor:name="ProtectForm" oor:type="xs:boolean" oor:nillable="false">
+        <info>
+          <desc>Protect form</desc>
+        </info>
+        <value>false</value>
+      </prop>
+      <prop oor:name="MsWordCompTrailingBlanks" oor:type="xs:boolean" oor:nillable="false">
+        <info>
+          <desc>MS Word-compatible trailing blanks</desc>
+        </info>
+        <value>false</value>
+      </prop>
     </group>
   </templates>
   <component>
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx
index 58522ac..8dcb39b 100644
--- a/unotools/source/config/compatibility.cxx
+++ b/unotools/source/config/compatibility.cxx
@@ -36,7 +36,7 @@ using namespace ::osl;
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::beans;
 
-#define ROOTNODE_OPTIONS        "Office.Compatibility/"
+#define ROOTNODE_OPTIONS        "Office.Compatibility"
 #define PATHDELIMITER           "/"
 #define SETNODE_ALLFILEFORMATS  "AllFileFormats"
 


More information about the Libreoffice-commits mailing list