diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-06-05 03:57:55 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-06-05 05:10:57 +0200 |
commit | 24c260a271ec5f086b7883a6ed258e02af799d61 (patch) | |
tree | 17e8e6b78273bd5ea56a704c9def2f777882ee7d /chart2 | |
parent | ecdd0501c809e8f283a09cc320a539b828bfec2f (diff) |
Unify ODF extended vs. ODF1.2 handling
Make "export extended ODF" consistently mean "version > ODF1.2".
Future ODF versions need manual review anyway, of the various
changes/additions we ship.
Change-Id: I0f6c1646b306e18f0abcdd1a1802fece821b2e93
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/DiagramHelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/DiagramHelper.cxx b/chart2/source/tools/DiagramHelper.cxx index 27026c5ba28c..bf755d60969d 100644 --- a/chart2/source/tools/DiagramHelper.cxx +++ b/chart2/source/tools/DiagramHelper.cxx @@ -1710,7 +1710,7 @@ bool DiagramHelper::switchDiagramPositioningToExcludingPositioning( { //return true if something was changed const SvtSaveOptions::ODFDefaultVersion nCurrentODFVersion( SvtSaveOptions().GetODFDefaultVersion() ); - if( nCurrentODFVersion == SvtSaveOptions::ODFVER_LATEST )//#i100778# todo: change this dependent on fileformat evolution + if( nCurrentODFVersion > SvtSaveOptions::ODFVER_012 ) { uno::Reference< ::com::sun::star::chart::XChartDocument > xOldDoc( xChartModel, uno::UNO_QUERY ) ; if( xOldDoc.is() ) |