From 48b1d2b120005ddb97c14673b403b8f9c3fd9606 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Sun, 22 Mar 2015 17:43:27 +0000 Subject: use SvXMLExport::getDefaultVersion() ... instead of SvtSaveOptions().GetODFDefaultVersion() Change-Id: Ib94fa3edc395f6ef39f3be33c5cdf4f4e2da32b4 --- xmloff/source/style/xmlnumfe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx index e8a86171a4bc..dbfed8c1b964 100644 --- a/xmloff/source/style/xmlnumfe.cxx +++ b/xmloff/source/style/xmlnumfe.cxx @@ -669,7 +669,7 @@ void SvXMLNumFmtExport::WriteScientificElement_Impl( if ( nExpInterval >= 0 ) { // Export only for 1.2 with extensions or 1.3 and later. - SvtSaveOptions::ODFDefaultVersion eVersion = SvtSaveOptions().GetODFDefaultVersion(); + SvtSaveOptions::ODFDefaultVersion eVersion = rExport.getDefaultVersion(); if (eVersion > SvtSaveOptions::ODFVER_012) { // TODO: change this once the fouled up ODFVER_LATEST is a real @@ -1589,7 +1589,7 @@ void SvXMLNumFmtExport::ExportPart_Impl( const SvNumberformat& rFormat, sal_uInt break; case NF_SYMBOLTYPE_STAR : // export only if ODF 1.2 extensions are enabled - if( SvtSaveOptions().GetODFDefaultVersion() > SvtSaveOptions::ODFVER_012 ) + if( rExport.getDefaultVersion() > SvtSaveOptions::ODFVER_012 ) { if ( pElemStr && pElemStr->getLength() > 1 ) WriteRepeatedElement_Impl( (*pElemStr)[1] ); -- cgit