[Libreoffice-commits] .: sc/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Thu May 24 03:44:18 PDT 2012


 sc/source/filter/xml/xmlexprt.cxx |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

New commits:
commit 4d676e0fb325d3938cdc7064f9a80821fff645d3
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Thu May 24 12:41:18 2012 +0200

    export new conditional format info only into 1.2 with extension
    
    Change-Id: I4d52f5aa36785110888ca1fdd6fc85ee40406674

diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 9c1b3bd..5951ee0 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -2851,8 +2851,11 @@ void ScXMLExport::WriteTable(sal_Int32 nTable, const Reference<sheet::XSpreadshe
             WriteNamedRange(pRangeName);
         }
 
-        //export new conditional format information
-        ExportConditionalFormat(nTable);
+        if(getDefaultVersion() > ODFVER_012)
+        {
+            //export new conditional format information
+            ExportConditionalFormat(nTable);
+        }
 
     }
 }


More information about the Libreoffice-commits mailing list