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
This commit is contained in:
@@ -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() );
|
||||
|
Reference in New Issue
Block a user