sw/source/core/crsr/findtxt.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6b003da43a265a431b2a176e4df637523d10fefb
Author:     Stéphane Guillou <stephane.guil...@member.fsf.org>
AuthorDate: Tue Jan 17 06:52:46 2023 +0100
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Thu Mar 16 09:16:13 2023 +0000

    tdf#152959 sw: allow lowercase unicode literal for soft hyphen
    
    Change-Id: If0cd7a07badf9f518ca697beb065e26b48a64abf
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145662
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>
    (cherry picked from commit 02c352d7fdb01e7b4899cbd3c5d62b81019ddb15)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148873
    Reviewed-by: Stéphane Guillou <stephane.guil...@libreoffice.org>

diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index dc27f677b6be..26805b281adc 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -745,6 +745,7 @@ bool DoSearch(SwPaM & rSearchPam,
         if (   -1 != rSearchOpt.searchString.indexOf("\\xAD")
             || -1 != rSearchOpt.searchString.indexOf("\\x{00AD}")
             || -1 != rSearchOpt.searchString.indexOf("\\u00AD")
+            || -1 != rSearchOpt.searchString.indexOf("\\u00ad")
             || -1 != rSearchOpt.searchString.indexOf("\\U000000AD")
             || -1 != rSearchOpt.searchString.indexOf("\\N{SOFT HYPHEN}"))
         {

Reply via email to