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>
diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index 745e012..cc5c11b 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";