summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-10-25 02:12:21 +0200
committerEike Rathke <erack@redhat.com>2017-10-25 12:00:00 +0200
commit425e06aa7f8c2ca7fdc179278c848da213e8062d (patch)
tree1d4b835bf742dc4ecdf2e530853ffc7c75141671 /sw
parent3df47db0f3974bdc32df66a57f8a8acd21acd0a8 (diff)
Eliminate deprecated SvNumberFormatter::GetDecSep()
Was only one call left.. Change-Id: I140099d77e762e53579b2a5954fe4c59855104da Reviewed-on: https://gerrit.libreoffice.org/43798 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/fields/fldbas.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/fields/fldbas.cxx b/sw/source/core/fields/fldbas.cxx
index 2b8e111e726f..6febf519af6a 100644
--- a/sw/source/core/fields/fldbas.cxx
+++ b/sw/source/core/fields/fldbas.cxx
@@ -536,7 +536,7 @@ OUString SwValueFieldType::DoubleToString( const double &rVal,
pFormatter->ChangeIntl( nLng ); // get separator in the correct language
return ::rtl::math::doubleToUString( rVal, rtl_math_StringFormat_F, 12,
- pFormatter->GetDecSep(), true );
+ pFormatter->GetNumDecimalSep()[0], true );
}
SwValueField::SwValueField( SwValueFieldType* pFieldType, sal_uInt32 nFormat,