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 97726d52823b..43824e4d8c71 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1307,6 +1307,11 @@ void Test::testUserDefinedNumberFormats()
sExpected = "-1.00E-03";
checkPreviewString(aFormatter, sCode, -0.000999999, eLang, sExpected);
}
+ { // tdf#112933 one decimal seconds fraction
+ sCode = "MM:SS.0";
+ sExpected = "23:53.6";
+ checkPreviewString(aFormatter, sCode, M_PI, eLang, sExpected);
+ }
}
CPPUNIT_TEST_SUITE_REGISTRATION(Test);