[Libreoffice-commits] core.git: xmloff/source

Caolán McNamara caolanm at redhat.com
Wed Sep 21 20:20:51 UTC 2016


 xmloff/source/table/XMLTableExport.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 1f6af12705ddcf14eb4617a6f2f523b844e3f6db
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Sep 21 21:07:50 2016 +0100

    Resolves: tdf#101708 only export loext table attributes in 'extended' variant
    
    Change-Id: I35f297e94e1eb6ed56020cf69102fad4c4d1e7f4

diff --git a/xmloff/source/table/XMLTableExport.cxx b/xmloff/source/table/XMLTableExport.cxx
index ecf3fe0..4a47857 100644
--- a/xmloff/source/table/XMLTableExport.cxx
+++ b/xmloff/source/table/XMLTableExport.cxx
@@ -618,7 +618,8 @@ void XMLTableExport::exportTableTemplates()
                 pElements++;
             }
 
-            if (mbWriter)
+            SvtSaveOptions::ODFSaneDefaultVersion eVersion = mrExport.getSaneDefaultVersion();
+            if (mbWriter && ((eVersion & SvtSaveOptions::ODFSVER_EXTENDED) != 0))
             {
                 pElements = getWriterSpecificTableStyleMap();
                 while(pElements->meElement != XML_TOKEN_END)


More information about the Libreoffice-commits mailing list