diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-05-26 12:07:25 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2021-05-26 16:11:40 +0200 |
commit | 70dfe58b8b45a7221a1f6e335d0d4afcf0c1c026 (patch) | |
tree | 123b7e86082ec5750e5220df26c25190f0416614 /svl/qa | |
parent | ea4b99c294aa4ad975a8374f317b09f743aa173e (diff) |
tdf#52510: svl_qa_cppunit: Add unittest
Change-Id: I18a7000104add044ba59381c201cb5aff9fb459d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116184
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svl/qa')
-rw-r--r-- | svl/qa/unit/svl.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx index 745e01297de2..cc5c11bbe2cd 100644 --- a/svl/qa/unit/svl.cxx +++ b/svl/qa/unit/svl.cxx @@ -1360,6 +1360,11 @@ void Test::testUserDefinedNumberFormats() sCode = "HH:MM:SS"; checkPreviewString(aFormatter, sCode, 0.365972222222222, eLang, sExpected); } + { // tdf#52510 + sCode = "_($* #,##0.00_);_($* (#,##0.00);"; + sExpected = ""; + checkPreviewString(aFormatter, sCode, 0.0, eLang, sExpected); + } { // tdf#95339: detect SSMM as second minute sCode = "SS:MM:HH DD/MM/YY"; // Month not detected by Excel, but we do not follow that. sExpected = "53:23:03 02/01/00"; |