summaryrefslogtreecommitdiff
path: root/xmloff/source/style
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-03-22 17:43:27 +0000
committerEike Rathke <erack@redhat.com>2015-03-22 17:53:41 +0000
commit48b1d2b120005ddb97c14673b403b8f9c3fd9606 (patch)
tree76667e24926aacfe8a1bd14d9845cea354853b0d /xmloff/source/style
parent4c414d3b1d69e3dd33344f062188951dbe18899c (diff)
use SvXMLExport::getDefaultVersion()
... instead of SvtSaveOptions().GetODFDefaultVersion() Change-Id: Ib94fa3edc395f6ef39f3be33c5cdf4f4e2da32b4
Diffstat (limited to 'xmloff/source/style')
-rw-r--r--xmloff/source/style/xmlnumfe.cxx4
1 files changed, 2 insertions, 2 deletions
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] );