vcl/qa/cppunit/complextext.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 2c8e0630097477cdfbcd481d27893f34a179a69e
Author:     Rene Engelhard <r...@rene-engelhard.de>
AuthorDate: Sat Dec 9 09:30:22 2023 +0100
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Mon Dec 11 10:21:53 2023 +0100

    add missing #if MORE_FONTS
    
    since it nededs Source Han Sans since 
9b5964cf5931d7c09e4fd624d68595891c2afb58
    
    Change-Id: I35bd30048b298e8cbdaf6de22ae2022d51415aa9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160477
    Tested-by: René Engelhard <r...@debian.org>
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/vcl/qa/cppunit/complextext.cxx b/vcl/qa/cppunit/complextext.cxx
index 37f4fbc0766c..8a847def8763 100644
--- a/vcl/qa/cppunit/complextext.cxx
+++ b/vcl/qa/cppunit/complextext.cxx
@@ -529,6 +529,7 @@ CPPUNIT_TEST_FIXTURE(VclComplexTextTest, 
testMixedCJKLatinScript_glyph_advanceme
 
 CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testTdf107718)
 {
+#if HAVE_MORE_FONTS
 #if !defined _WIN32 // TODO: Fails on jenkins but passes locally
     vcl::Font aFont(u"Source Han Sans"_ustr, u"Regular"_ustr, Size(0, 72));
 
@@ -574,6 +575,7 @@ CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testTdf107718)
         CPPUNIT_ASSERT_EQUAL(3, nStart);
     }
 #endif
+#endif
 }
 
 CPPUNIT_TEST_FIXTURE(VclComplexTextTest, testTdf107612)

Reply via email to