lingucomponent/source/spellcheck/spell/sspellimp.cxx | 5 +++++ 1 file changed, 5 insertions(+)
New commits: commit 1a2feaf01cbd41e66c1d656276d072ca5c750b18 Author: David Tardon <[email protected]> Date: Thu Dec 15 10:36:18 2016 +0100 fix build with hunspell < 1.5 Change-Id: I66810d2bf9bbd08990dd8e995e34c50caa472ff8 (cherry picked from commit 64362ec119a4f38c98d2ff959a5651f4887ff942) Reviewed-on: https://gerrit.libreoffice.org/34339 Reviewed-by: Rene Engelhard <[email protected]> Tested-by: Rene Engelhard <[email protected]> diff --git a/lingucomponent/source/spellcheck/spell/sspellimp.cxx b/lingucomponent/source/spellcheck/spell/sspellimp.cxx index a47ab58..27b8f91 100644 --- a/lingucomponent/source/spellcheck/spell/sspellimp.cxx +++ b/lingucomponent/source/spellcheck/spell/sspellimp.cxx @@ -60,6 +60,11 @@ using namespace linguistic; // XML-header of SPELLML queries #define SPELLML_HEADER "<?xml?>" +// only available in hunspell >= 1.5 +#if !defined MAXWORDLEN +#define MAXWORDLEN 176 +#endif + SpellChecker::SpellChecker() : aDicts(nullptr), aDEncs(nullptr), _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
