summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svl/source/numbers/zformat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 2fc1912b0e3f..751fa750c5bc 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -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() );