]> git.lyx.org Git - lyx.git/blobdiff - src/HunspellChecker.cpp
BufferParams.cpp: fix #6714
[lyx.git] / src / HunspellChecker.cpp
index e85338ddd4a169d1afbd4172d977d04baded6a31..9678a71c04c56d3e21d1da05c8e5d7d2d8266988 100644 (file)
@@ -138,7 +138,7 @@ Hunspell * HunspellChecker::Private::addSpeller(string const & lang)
 
        FileName const affix(hunspell_path + ".aff");
        FileName const dict(hunspell_path + ".dic");
-       Hunspell * h = new Hunspell(affix.absFilename().c_str(), dict.absFilename().c_str());
+       Hunspell * h = new Hunspell(affix.absFileName().c_str(), dict.absFileName().c_str());
        spellers_[lang] = h;
        return h;
 }