From 7b6c5e32197c03998a133ec6bc8fd9079f6c0274 Mon Sep 17 00:00:00 2001 From: László Németh Date: Tue, 22 May 2018 15:47:51 +0200 Subject: tdf#117171 support localized sequence numbering styles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit for example, illustration and table numbering in ordinal and cardinal number names and ordinal indicators. Change-Id: I1911d40aba1b18230a49b2e968af2753d1eeb6f3 Reviewed-on: https://gerrit.libreoffice.org/54672 Tested-by: Jenkins Reviewed-by: László Németh --- sw/source/core/fields/expfld.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx index b01aa8fd31e5..6ac0df0f4a47 100644 --- a/sw/source/core/fields/expfld.cxx +++ b/sw/source/core/fields/expfld.cxx @@ -863,7 +863,7 @@ void SwSetExpField::SetValue( const double& rAny ) SwValueField::SetValue(rAny); if( IsSequenceField() ) - sExpand = FormatNumber( GetValue(), static_cast(GetFormat()) ); + sExpand = FormatNumber( GetValue(), static_cast(GetFormat()), GetLanguage() ); else sExpand = static_cast(GetTyp())->ExpandValue( rAny, GetFormat(), GetLanguage()); -- cgit