diff options
author | László Németh <nemeth@numbertext.org> | 2018-11-07 13:18:36 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2018-11-12 23:30:20 +0100 |
commit | a20a2d7e0d28658f2d9089da076961a599833a28 (patch) | |
tree | 2aeccf5d2c75ed63f5b0ece0624701713229f83e /external/hunspell/0001-FORBIDDENWORD-precedes-BREAK.patch | |
parent | c4ebcb211c715ce31dfede0ca96f2eb592efadc5 (diff) |
bump hunspell to 1.7libreoffice-6-2-branch-point
Change-Id: Ia8d1f4831e651b3a8d5115f78e5a5239b56c71c4
Reviewed-on: https://gerrit.libreoffice.org/63015
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'external/hunspell/0001-FORBIDDENWORD-precedes-BREAK.patch')
-rw-r--r-- | external/hunspell/0001-FORBIDDENWORD-precedes-BREAK.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/external/hunspell/0001-FORBIDDENWORD-precedes-BREAK.patch b/external/hunspell/0001-FORBIDDENWORD-precedes-BREAK.patch deleted file mode 100644 index 6cad45d8a8bf..000000000000 --- a/external/hunspell/0001-FORBIDDENWORD-precedes-BREAK.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 39b785a6b03b35cc8a27f43f6005dcaa432694e1 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?L=C3=A1szl=C3=B3=20N=C3=A9meth?= <nemeth@numbertext.org> -Date: Mon, 9 Oct 2017 13:02:39 +0200 -Subject: [PATCH] FORBIDDENWORD precedes BREAK - -Now it's possible to forbid compound forms recognized by -BREAK word breaking. ---- - src/hunspell/hunspell.cxx | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/hunspell/hunspell.cxx b/src/hunspell/hunspell.cxx -index 5c98f8a..3fd0d16 100644 ---- a/src/hunspell/hunspell.cxx -+++ b/src/hunspell/hunspell.cxx -@@ -633,7 +633,7 @@ bool HunspellImpl::spell(const std::string& word, int* info, std::string* root) - } - - // recursive breaking at break points -- if (!wordbreak.empty()) { -+ if (!wordbreak.empty() && !(*info & SPELL_FORBIDDEN)) { - - int nbr = 0; - wl = scw.size(); --- -1.9.1 - |