- " entry in LColor.C for " << int(c) << endl;
- lyxerr << "Using black." << endl;
- return "black";
-}
-
-
-string const LColor::getX11Name(string const & s) const
-{
- Pimpl::Transform::const_iterator ici = pimpl_->transform.find(s);
- if (ici != pimpl_->transform.end()) {
- Pimpl::InfoTab::const_iterator
- it = pimpl_->infotab.find(ici->second);
- if (it != pimpl_->infotab.end())
- return it->second.x11name;
- }
- lyxerr << "LyX internal error: Missing color"
- " entry in LColor.C for " << s << endl;
- lyxerr << "Using black." << endl;