diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 07:15:13 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-02 09:32:54 +0200 |
commit | 6409b5e7115049f7072c66c1dfb3dd1308709fcc (patch) | |
tree | ad3b82e228834dcecaeca8f58945b41b501c2ece /svl/source/numbers/zformat.cxx | |
parent | 2b0677d69e6e53a7e3a74c6e42a8d02f7cc36a41 (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: svl
Change-Id: Iedcd2e149690350f0ef131eda5cf61ecfade5c91
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97695
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svl/source/numbers/zformat.cxx')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 33026a8508b5..ca32b95f0345 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -67,7 +67,7 @@ const double D_MAX_U_INT32 = double(0xffffffff); // 4294967295.0 const double D_MAX_D_BY_100 = 1.7E306; const double D_MIN_M_BY_1000 = 2.3E-305; -static const sal_uInt8 cCharWidths[ 128-32 ] = { +const sal_uInt8 cCharWidths[ 128-32 ] = { 1,1,1,2,2,3,2,1,1,1,1,2,1,1,1,1, 2,2,2,2,2,2,2,2,2,2,1,1,2,2,2,2, 3,2,2,2,2,2,2,3,2,1,2,2,2,3,3,3, @@ -138,7 +138,7 @@ void ImpSvNumberformatInfo::Copy( const ImpSvNumberformatInfo& rNumFor, sal_uInt nCntExp = rNumFor.nCntExp; } -static const std::map<LanguageType, std::array<sal_uInt8, 4>> tblDBNumToNatNum +const std::map<LanguageType, std::array<sal_uInt8, 4>> tblDBNumToNatNum = { { primary(LANGUAGE_CHINESE), { 4, 5, 3, 0 } }, { primary(LANGUAGE_JAPANESE), { 4, 5, 3, 0 } }, { primary(LANGUAGE_KOREAN), { 4, 5, 6, 10 } } }; @@ -173,7 +173,7 @@ sal_uInt8 SvNumberNatNum::MapDBNumToNatNum( sal_uInt8 nDBNum, LanguageType eLang return nNatNum; } -static const std::map<LanguageType, std::array<sal_uInt8, 9>> tblNatNumToDBNum +const std::map<LanguageType, std::array<sal_uInt8, 9>> tblNatNumToDBNum = { { primary(LANGUAGE_CHINESE), { 1, 0, 0, 1, 2, 3, 0, 0, 0 } }, { primary(LANGUAGE_JAPANESE), { 1, 2, 3, 1, 2, 3, 1, 2, 0 } }, { primary(LANGUAGE_KOREAN), { 1, 2, 3, 1, 2, 3, 1, 2, 4 } } }; |