X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLColor.C;h=5923d26ce8b83df3a5ac17933eb653a179b6e771;hb=e5a46922e916a06ad1b958d5895cc3cfb4f13d2c;hp=1288b1d9d3f1c201741ed43ed2b806dad29a800d;hpb=2caff468e5aca8b20649487f837a739215d015c9;p=lyx.git diff --git a/src/LColor.C b/src/LColor.C index 1288b1d9d3..5923d26ce8 100644 --- a/src/LColor.C +++ b/src/LColor.C @@ -250,20 +250,6 @@ bool LColor::setColor(string const & lyxname, string const &x11name) } -LColor::color LColor::getFromGUIName(docstring const & guiname) const -{ - Pimpl::InfoTab::const_iterator it = pimpl_->infotab.begin(); - Pimpl::InfoTab::const_iterator end = pimpl_->infotab.end(); - for (; it != end; ++it) { - // FIXME comparison of translated strings is problematic, - // and compare_ascii_no_case is probably not correct - if (!compare_ascii_no_case(_(it->second.guiname), guiname)) - return it->first; - } - return LColor::inherit; -} - - void LColor::addColor(LColor::color c, string const & lyxname) const { ColorEntry ce = { c, "", "", "", lyxname.c_str() };