Test cases:
Type the word ISSUE in Writer, and press F7. There will be uppercase synonyms in the thesaurus window.
Or type the following words in Writer: baz, Baz and BAZ, they will get red underline. Choose Add in the local menu of baz. All words will be recognized by the spell checker.
Many thanks for your patch! László