summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/qa/unit/svl.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index 075515bca512..82e18ea91df1 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1372,6 +1372,11 @@ void Test::testUserDefinedNumberFormats()
sExpected = "#FMT";
checkPreviewString(aFormatter, sCode, 2E+306, eLang, sExpected);
}
+ { // tdf#144697
+ sCode = "YYYY-MM-DD";
+ sExpected = "#FMT";
+ checkPreviewString(aFormatter, sCode, -12662108.0, eLang, sExpected);
+ }
{ // tdf#122991
sCode = "[HH]:MM:SS";
sExpected = "08:47:00";