diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-07 18:42:35 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-08 02:05:53 +0200 |
commit | 830650fa2480c1b399fd7c370e4b1362662f6f64 (patch) | |
tree | dce96201c057a6e57977eb04c65c03782b3da124 /sc | |
parent | 7caafb6ce74111186526246b58709c447733543d (diff) |
don't use ODFVER_LATEST instead of ODFVER_012
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 654141810caa..5ef06cf6bd08 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -2740,7 +2740,7 @@ void ScXMLExport::WriteTable(sal_Int32 nTable, const Reference<sheet::XSpreadshe CheckAttrList(); if ( pDoc && pDoc->GetSheetEvents( static_cast<SCTAB>(nTable) ) && - getDefaultVersion() == SvtSaveOptions::ODFVER_LATEST ) + getDefaultVersion() >= SvtSaveOptions::ODFVER_012 ) { // store sheet events uno::Reference<document::XEventsSupplier> xSupplier(xTable, uno::UNO_QUERY); @@ -4305,7 +4305,7 @@ sal_uInt32 ScXMLExport::exportDoc( enum XMLTokenEnum eClass ) // sheet events use officeooo namespace if( (getExportFlags() & EXPORT_CONTENT) != 0 && - getDefaultVersion() == SvtSaveOptions::ODFVER_LATEST ) + getDefaultVersion() >= SvtSaveOptions::ODFVER_012 ) { bool bAnySheetEvents = false; SCTAB nTabCount = pDoc->GetTableCount(); |