diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-05 23:32:11 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-06-11 08:01:25 +0200 |
commit | 306f586453aa90eb29ae95770f84a13ead056b7c (patch) | |
tree | 033b05f7c7e0c2c8deed7c0b1e626b718ed14101 /sc | |
parent | b5a33fff1d9b40488336c94c92c9e97ee2f1e53d (diff) |
fix export of cond formats to ods
Change-Id: Id6146ebdb01e2d38948b88a9b9cbf6f5930e80c0
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index bbca0dfca020..71caee8acadc 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -3819,7 +3819,7 @@ void ScXMLExport::ExportConditionalFormat(SCTAB nTab) ScConditionalFormatList* pCondFormatList = pDoc->GetCondFormList(nTab); if(pCondFormatList) { - if(pCondFormatList && pCondFormatList->size()) + if(pCondFormatList && !pCondFormatList->size()) return; SvXMLElementExport aElementCondFormats(*this, XML_NAMESPACE_CALC_EXT, XML_CONDITIONAL_FORMATS, true, true); |