summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-24 12:41:18 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-05-24 12:41:18 +0200
commit4d676e0fb325d3938cdc7064f9a80821fff645d3 (patch)
treee2d36609e525ecd3836de53c500bf2933b0a4aa6 /sc
parentuse correct namespace for calc odf extensions (diff)
downloadcore-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.cxx7
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);
+ }
}
}