diff options
-rw-r--r-- | include/svl/nfversi.hxx | 1 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 5 |
2 files changed, 2 insertions, 4 deletions
diff --git a/include/svl/nfversi.hxx b/include/svl/nfversi.hxx index 4d36a95b3e43..8a708c48dea2 100644 --- a/include/svl/nfversi.hxx +++ b/include/svl/nfversi.hxx @@ -23,7 +23,6 @@ // file IDs #define SV_NUMBERFORMATTER_VERSION_NEWSTANDARD 0x0006 #define SV_NUMBERFORMATTER_VERSION_NF_TIME_HH_MMSS00 0x0007 -#define SV_NUMBERFORMATTER_VERSION_NF_DATE_WW 0x0008 #define SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS 0x000e #define SV_NUMBERFORMATTER_VERSION 0x000f diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index 6b645f3be15d..85a4abebef87 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -2479,9 +2479,8 @@ void SvNumberFormatter::ImpGenerateFormats( sal_uInt32 CLOffset, bool bNoAdditio // Week of year must be appended here because of nNewExtended const NfKeywordTable & rKeyword = pFormatScanner->GetKeywords(); aSingleFormatCode.Code = rKeyword[NF_KEY_WW]; - ImpInsertNewStandardFormat( aSingleFormatCode, - CLOffset + SetIndexTable( NF_DATE_WW, nNewExtended++ ), - SV_NUMBERFORMATTER_VERSION_NF_DATE_WW ); + ImpInsertFormat( aSingleFormatCode, + CLOffset + SetIndexTable( NF_DATE_WW, nNewExtended++ )); { osl::MutexGuard aGuard(&theIndexTable.maMtx); |