summaryrefslogtreecommitdiff
path: root/svl/inc/svl
diff options
context:
space:
mode:
authorKatarina Machalkova <kmachalkova@suse.cz>2011-03-08 15:56:53 +0100
committerKatarina Machalkova <kmachalkova@suse.cz>2011-03-08 17:37:08 +0100
commit96dc8d285d5215ad9fac6951741b81c7203ee38d (patch)
tree726acac66fad36caa55e265472ac2103e957472d /svl/inc/svl
parent0177774f9bfa9b460fe3244b0455ef412e3cd147 (diff)
Revert "Introducing new number format ( -N => (N) ) -- bnc#659993"
This reverts commit 97ce42ad29560d39560b7f7c23785142803ae52f. Adding the format to every lang. breaks the std. format indexing (thus, unit test too) Moreover, it is not "legal" for non-English locale (or so LocaleNode.cxx says)
Diffstat (limited to 'svl/inc/svl')
-rw-r--r--svl/inc/svl/zforlist.hxx4
-rw-r--r--svl/inc/svl/zformat.hxx4
2 files changed, 1 insertions, 7 deletions
diff --git a/svl/inc/svl/zforlist.hxx b/svl/inc/svl/zforlist.hxx
index a5b516fd8d69..f3f7fdfef1e0 100644
--- a/svl/inc/svl/zforlist.hxx
+++ b/svl/inc/svl/zforlist.hxx
@@ -114,9 +114,7 @@ enum NfIndexTableOffset
NF_NUMBER_1000INT, // #,##0
NF_NUMBER_1000DEC2, // #,##0.00
NF_NUMBER_SYSTEM, // #,##0.00 or whatever is set in System Regional Settings
- NF_NUMBER_NEG_BRACKET, // #,##0_);(#,##0) -42 => (42)
- NF_NUMBER_NEG_BRACKET_DEC2, // #,##0.00_);(#,##0.00) -42.00 => (42.00)
- NF_NUMBER_END = NF_NUMBER_NEG_BRACKET_DEC2,
+ NF_NUMBER_END = NF_NUMBER_SYSTEM,
NF_SCIENTIFIC_START,
NF_SCIENTIFIC_000E000 = NF_SCIENTIFIC_START, // 0.00E+000
diff --git a/svl/inc/svl/zformat.hxx b/svl/inc/svl/zformat.hxx
index a4222a4757c9..e9790d60f3aa 100644
--- a/svl/inc/svl/zformat.hxx
+++ b/svl/inc/svl/zformat.hxx
@@ -334,10 +334,6 @@ public:
// Whether the negative format is without a sign or not
BOOL IsNegativeWithoutSign() const;
- BOOL IsNegativeInBracket() const;
-
- BOOL HasPositiveBracketPlaceholder() const;
-
// Whether a new SYMBOLTYPE_CURRENCY is contained in the format
BOOL HasNewCurrency() const;