diff options
Diffstat (limited to 'svx/source/items/numfmtsh.cxx')
-rw-r--r-- | svx/source/items/numfmtsh.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/source/items/numfmtsh.cxx b/svx/source/items/numfmtsh.cxx index 0a10cbaccd30..ceb5dfbe6b44 100644 --- a/svx/source/items/numfmtsh.cxx +++ b/svx/source/items/numfmtsh.cxx @@ -374,6 +374,13 @@ void SvxNumberFormatShell::MakeFormat( OUString& rFormat, } +sal_uInt16 SvxNumberFormatShell::GetFormatIntegerDigits( const OUString& rFormat ) const +{ + sal_uInt32 nFmtKey = pFormatter->GetEntryKey( rFormat, eCurLanguage ); + + return pFormatter->GetFormatIntegerDigits(nFmtKey); +} + void SvxNumberFormatShell::GetOptions( const OUString& rFormat, bool& rThousand, |