[Libreoffice-commits] core.git: sc/qa

Eike Rathke erack at redhat.com
Fri Jun 9 14:31:17 UTC 2017


 sc/qa/unit/ucalc_formula.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6da3a1188fbc0e35ac2dbb974917cc1a1b3bde47
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Jun 9 16:30:25 2017 +0200

    Some compilers can't init vector from empty {}
    
    Change-Id: I82767a92d1f816cb7fa8ef4f96d694ca5658dfc0

diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx
index 052c195a38d5..dffcfff11dda 100644
--- a/sc/qa/unit/ucalc_formula.cxx
+++ b/sc/qa/unit/ucalc_formula.cxx
@@ -7919,7 +7919,7 @@ void Test::testFuncSUMIFS()
         { "a", "16" },
         { "b", "32" },
         { "c", "64" },
-        {},
+        { "" },             // {} doesn't work with some compilers
         { "a" },
         { "b" },
         { "c" },


More information about the Libreoffice-commits mailing list