diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-05-24 12:41:18 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-05-24 12:41:18 +0200 |
commit | 4d676e0fb325d3938cdc7064f9a80821fff645d3 (patch) | |
tree | e2d36609e525ecd3836de53c500bf2933b0a4aa6 /sc | |
parent | use correct namespace for calc odf extensions (diff) | |
download | core-4d676e0fb325d3938cdc7064f9a80821fff645d3.tar.gz core-4d676e0fb325d3938cdc7064f9a80821fff645d3.zip |
export new conditional format info only into 1.2 with extension
Change-Id: I4d52f5aa36785110888ca1fdd6fc85ee40406674
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 9c1b3bd76c53..5951ee02c0f0 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); + } } } |