Noticed by Julien Nabet <serval2412@yahoo.fr>. It seems commit
b58863e8ddc923fa737d064b873b8099a24a8c51 reorganized the code
and removed this call. Not quite sure if it's needed as it has
apparently worked fine for a while, but this should match the code
before that commit (except for the pointless TryToAcquire() ).
* extras/source/wordbook/lang/*/soffice.dic: deleted
These files were in old binary format and almost all
language files were replicas of the en-US file. There
were two exceptions: German and Slovenian. André Schnabel
checked the German word list and he said that they can be
deleted. Martin Srebotnjak checked the Slovenian word list
and he asked me to keep those words -> sl.dic
* extras/source/wordbook/oracle.dic: deleted
It was not used in the build. It contained Oracle brand
names, etc.
* extras/source/wordbook/standard.dic: deleted
It was built and delivered, but not packaged. It was an
empty dictionary file which would be created anyway when
the user creates a new empty dictionary.
* extras/source/wordbook/technical.dic:
Entries were sorted so it will be easier to add new words.
Some entries were added from lang/en-US/soffice.dic.
* extras/source/wordbook/sl.dic: added Slovenian words
* extras/source/wordbook/en-US.dic: added English words
* extras/source/wordbook/en-GB.dic: added English words
* scp2/source/ooo/ :
These wordbook files should not depend on the UI language.
They should not be in language packs but they all should
be installed for every language like spell checker
dictionaries.
* officecfg/registry/ :
Paths adjusted, so application looks for wordbook files
in the right directory.
I enabled all dictionaries by default in Linguistic.xcs.
From cppcheck: Using xxxx.empty() instead of xxxx.size() can be faster.
xxxx.size() can take linear time but xxxx.empty() is guaranteed to take
constant time