[Libreoffice-commits] core.git: xmloff/source
Eike Rathke
erack at redhat.com
Sun Mar 22 10:54:08 PDT 2015
xmloff/source/style/xmlnumfe.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 48b1d2b120005ddb97c14673b403b8f9c3fd9606
Author: Eike Rathke <erack at redhat.com>
Date: Sun Mar 22 17:43:27 2015 +0000
use SvXMLExport::getDefaultVersion()
... instead of SvtSaveOptions().GetODFDefaultVersion()
Change-Id: Ib94fa3edc395f6ef39f3be33c5cdf4f4e2da32b4
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index e8a8617..dbfed8c 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] );
More information about the Libreoffice-commits
mailing list