Kaydet (Commit) 7b6c5e32 authored tarafından László Németh's avatar László Németh

tdf#117171 support localized sequence numbering styles

for example, illustration and table numbering in ordinal
and cardinal number names and ordinal indicators.

Change-Id: I1911d40aba1b18230a49b2e968af2753d1eeb6f3
Reviewed-on: https://gerrit.libreoffice.org/54672Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarLászló Németh <nemeth@numbertext.org>
üst ba9b525e
......@@ -863,7 +863,7 @@ void SwSetExpField::SetValue( const double& rAny )
SwValueField::SetValue(rAny);
if( IsSequenceField() )
sExpand = FormatNumber( GetValue(), static_cast<SvxNumType>(GetFormat()) );
sExpand = FormatNumber( GetValue(), static_cast<SvxNumType>(GetFormat()), GetLanguage() );
else
sExpand = static_cast<SwValueFieldType*>(GetTyp())->ExpandValue( rAny,
GetFormat(), GetLanguage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment