Kaydet (Commit) 3c82f7d7 authored tarafından Eike Rathke's avatar Eike Rathke

use SvNumberNatNum::IsComplete() instead of IsSet(), tdf#79398 follow-up

IsComplete() takes into account if the language was also set, output is
transliterated only if complete.

Change-Id: I1b7c2c8dbd308604c7af9aa5d1aa3ff0c1b436ca
üst ab98c81e
......@@ -4718,7 +4718,7 @@ OUString SvNumberformat::GetMappedFormatstring( const NfKeywordTable& rKeywords,
}
const SvNumberNatNum& rNum = NumFor[n].GetNatNum();
if ( rNum.IsSet() && rNum.GetDBNum() > 0 )
if ( rNum.IsComplete() && rNum.GetDBNum() > 0 )
{
aPrefix += "[DBNum";
aPrefix += OUString::number( rNum.GetDBNum() );
......
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