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

New commits:
commit 1f6af12705ddcf14eb4617a6f2f523b844e3f6db
Author: Caolán McNamara <caol...@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)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to