sal/qa/rtl/textenc/rtl_textcvt.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 4bdd6e8fd5ea5318553b3f8834fce705da5ae5d3 Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Jul 9 15:09:22 2015 +0200 Do not call SAL_N_ELEMENTS on empty array Change-Id: I8b73c61a9662079927344029eb9872c6a19aad76 diff --git a/sal/qa/rtl/textenc/rtl_textcvt.cxx b/sal/qa/rtl/textenc/rtl_textcvt.cxx index 7a14239..75a6fb7 100644 --- a/sal/qa/rtl/textenc/rtl_textcvt.cxx +++ b/sal/qa/rtl/textenc/rtl_textcvt.cxx @@ -2569,6 +2569,7 @@ void Test::testComplex() { } void Test::testComplexCut() { +#if WITH_LOCALE_ALL || WITH_LOCALE_ja || WITH_LOCALE_zh static ComplexCharSetTest const data[] = { #if WITH_LOCALE_ALL || WITH_LOCALE_ja @@ -2660,6 +2661,7 @@ void Test::testComplexCut() { for (std::size_t i = 0; i < SAL_N_ELEMENTS(data); ++i) { doComplexCharSetCutTest(data[i]); } +#endif } void Test::testSRCBUFFERTOSMALL() { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits