]> 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 18f2a0fbd5282b4b183e420708893356fd9030e3..5923d26ce8b83df3a5ac17933eb653a179b6e771 100644 (file)
@@ -250,18 +250,6 @@ bool LColor::setColor(string const & lyxname, string const &x11name)
 }
 
 
-LColor::color LColor::getFromGUIName(string const & guiname) const
-{
-       Pimpl::InfoTab::const_iterator it = pimpl_->infotab.begin();
-       Pimpl::InfoTab::const_iterator end = pimpl_->infotab.end();
-       for (; it != end; ++it) {
-               if (!compare_ascii_no_case(to_utf8(_(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() };