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 48b5b4433a58..b8c3fc324651 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -1178,6 +1178,11 @@ void Test::testUserDefinedNumberFormats()
sExpected = "-575 540/697";
checkPreviewString(aFormatter, sCode, -575.774749601315, eLang, sExpected);
}
+ { // tdf#102507: left alignment of denominator
+ sCode = "# ?/???";
+ sExpected = "3 1/2 ";
+ checkPreviewString(aFormatter, sCode, 3.5, eLang, sExpected);
+ }
{ // tdf#100594: forced denominator
sCode = "# ?/100";
sExpected = " 6/100";