34 lines
1.4 KiB
Diff
34 lines
1.4 KiB
Diff
diff --git src/tools/hunspell.cxx src/tools/hunspell.cxx
|
|
index 690e34a..d9b094d 100644
|
|
--- src/tools/hunspell.cxx
|
|
+++ src/tools/hunspell.cxx
|
|
@@ -119,25 +119,11 @@
|
|
"/usr/share/hunspell:" \
|
|
"/usr/share/myspell:" \
|
|
"/usr/share/myspell/dicts:" \
|
|
- "/Library/Spelling"
|
|
-#define USEROOODIR { \
|
|
- ".openoffice.org/3/user/wordbook", \
|
|
- ".openoffice.org2/user/wordbook", \
|
|
- ".openoffice.org2.0/user/wordbook",\
|
|
- "Library/Spelling" }
|
|
+ "/usr/share/mozilla-dicts"
|
|
+#define USEROOODIR { \
|
|
+ ".config/libreoffice/4/user/wordbook" }
|
|
#define OOODIR \
|
|
- "/opt/openoffice.org/basis3.0/share/dict/ooo:" \
|
|
- "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
|
|
- "/opt/openoffice.org2.4/share/dict/ooo:" \
|
|
- "/usr/lib/openoffice.org2.4/share/dict/ooo:" \
|
|
- "/opt/openoffice.org2.3/share/dict/ooo:" \
|
|
- "/usr/lib/openoffice.org2.3/share/dict/ooo:" \
|
|
- "/opt/openoffice.org2.2/share/dict/ooo:" \
|
|
- "/usr/lib/openoffice.org2.2/share/dict/ooo:" \
|
|
- "/opt/openoffice.org2.1/share/dict/ooo:" \
|
|
- "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
|
|
- "/opt/openoffice.org2.0/share/dict/ooo:" \
|
|
- "/usr/lib/openoffice.org2.0/share/dict/ooo"
|
|
+ "/usr/lib/libreoffice/share/wordbook"
|
|
#define HOME getenv("HOME")
|
|
#define DICBASENAME ".hunspell_"
|
|
#define LOGFILE "/tmp/hunspell.log"
|