]> git.lyx.org Git - lyx.git/blobdiff - src/LColor.C
* GuiView.C (updateTab): do not update early if current tab has
[lyx.git] / src / LColor.C
index 1288b1d9d3f1c201741ed43ed2b806dad29a800d..5923d26ce8b83df3a5ac17933eb653a179b6e771 100644 (file)
@@ -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() };