diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2016-08-12 17:20:08 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-08-15 11:57:36 +0000 |
commit | ab98c81e1c4913aac3ce6453aa95c581dd582058 (patch) | |
tree | 2ba3e371055245e3a30bb016133d51b95c63eac7 /include | |
parent | 6f6024610b6f5392a96ed07ce9abe5aab606519d (diff) |
tdf#79398 Export to XL DBNum codes
Change-Id: Ibe24b68b89909eecdf73fe4f7db19de26396194d
Update: only if corresponding code exists
Reviewed-on: https://gerrit.libreoffice.org/28090
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/zformat.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx index f26eb82b3033..ea98b08a0fa5 100644 --- a/include/svl/zformat.hxx +++ b/include/svl/zformat.hxx @@ -73,17 +73,13 @@ class SvNumberNatNum public: static sal_uInt8 MapDBNumToNatNum( sal_uInt8 nDBNum, LanguageType eLang, bool bDate ); -#ifdef THE_FUTURE static sal_uInt8 MapNatNumToDBNum( sal_uInt8 nNatNum, LanguageType eLang, bool bDate ); -#endif SvNumberNatNum() : eLang( LANGUAGE_DONTKNOW ), nNum(0), bDBNum(false), bDate(false), bSet(false) {} bool IsComplete() const { return bSet && eLang != LANGUAGE_DONTKNOW; } sal_uInt8 GetNatNum() const { return bDBNum ? MapDBNumToNatNum( nNum, eLang, bDate ) : nNum; } -#ifdef THE_FUTURE sal_uInt8 GetDBNum() const { return bDBNum ? nNum : MapNatNumToDBNum( nNum, eLang, bDate ); } -#endif LanguageType GetLang() const { return eLang; } void SetLang( LanguageType e ) { eLang = e; } void SetNum( sal_uInt8 nNumber, bool bDBNumber ) |