diff options
-rw-r--r-- | include/svl/nfversi.hxx | 1 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 10 |
2 files changed, 4 insertions, 7 deletions
diff --git a/include/svl/nfversi.hxx b/include/svl/nfversi.hxx index 3145bfd69882..a67ad31e0bf6 100644 --- a/include/svl/nfversi.hxx +++ b/include/svl/nfversi.hxx @@ -26,7 +26,6 @@ #define SV_NUMBERFORMATTER_VERSION_NF_DATE_WW 0x0008 #define SV_NUMBERFORMATTER_VERSION_NF_DATETIME_SYS_DDMMYYYY_HHMMSS 0x000c #define SV_NUMBERFORMATTER_VERSION_ADDITIONAL_I18N_FORMATS 0x000e -#define SV_NUMBERFORMATTER_VERSION_FIXED_FRACTION 0x000f #define SV_NUMBERFORMATTER_VERSION 0x000f diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index db638ab11857..c5e5e4f2e18f 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -2467,15 +2467,13 @@ void SvNumberFormatter::ImpGenerateFormats( sal_uInt32 CLOffset, bool bNoAdditio // # ?/4 aSingleFormatCode.Code = "# ?/4"; - ImpInsertNewStandardFormat( aSingleFormatCode, - CLOffset + SetIndexTable( NF_FRACTION_3, ZF_STANDARD_FRACTION+2 ), - SV_NUMBERFORMATTER_VERSION_FIXED_FRACTION ); + ImpInsertFormat( aSingleFormatCode, + CLOffset + SetIndexTable( NF_FRACTION_3, ZF_STANDARD_FRACTION+2 )); // # ??/100 aSingleFormatCode.Code = "# ?\?/100"; - ImpInsertNewStandardFormat( aSingleFormatCode, - CLOffset + SetIndexTable( NF_FRACTION_4, ZF_STANDARD_FRACTION+3 ), - SV_NUMBERFORMATTER_VERSION_FIXED_FRACTION ); + ImpInsertFormat( aSingleFormatCode, + CLOffset + SetIndexTable( NF_FRACTION_4, ZF_STANDARD_FRACTION+3 )); |