i18npool/qa/cppunit/test_breakiterator.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6bc8a1ba5151e44d2ea539fe5f6408fc3d6be02a
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Oct 25 10:39:47 2021 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Oct 25 11:32:02 2021 +0200

    Missing `static`
    
    ...from aa2064c5c5f23f6f4b7bc44e12345b37f66995bc "Improve
    loplugin:stringliteralvar", similar to 
8b32a3edad52f8ac5e5f0f49b4f4e80954c2fd25
    "Fix stack-use-after-scope" (though this case doesn't appear to have caused 
any
    actual issues).
    
    (After manual inspection, there appear to be no further missing `static` at
    least in aa2064c5c5f23f6f4b7bc44e12345b37f66995bc "Improve
    loplugin:stringliteralvar".)
    
    Change-Id: I2b3d0d8d2af1d65f0c5bef8a858107020a620974
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124137
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/i18npool/qa/cppunit/test_breakiterator.cxx 
b/i18npool/qa/cppunit/test_breakiterator.cxx
index a341c712f704..936649bb537e 100644
--- a/i18npool/qa/cppunit/test_breakiterator.cxx
+++ b/i18npool/qa/cppunit/test_breakiterator.cxx
@@ -96,7 +96,7 @@ void TestBreakIterator::testLineBreaking()
 
     //See https://bugs.libreoffice.org/show_bug.cgi?id=49849
     {
-        constexpr OUStringLiteral aWord = u"\u05DE\u05D9\u05DC\u05D9\u05DD";
+        static constexpr OUStringLiteral aWord = 
u"\u05DE\u05D9\u05DC\u05D9\u05DD";
         OUString aTest(aWord + " " + aWord);
 
         aLocale.Language = "he";

Reply via email to