fix bug 4583: crash when processing colored box

LaTeXFeatures::getPackages() assumes that lcolor.getX11Name(Color_shadedbg) returns a hex color.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23336 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bernhard Roider 2008-02-28 21:06:00 +00:00
parent 7cfb26c367
commit a8708a5e9a

View File

@ -114,7 +114,7 @@ ColorSet::ColorSet()
{ Color_commentbg, N_("comment background"), "commentbg", "linen", "commentbg" },
{ Color_greyedout, N_("greyedout inset"), "greyedout", "red", "greyedout" },
{ Color_greyedoutbg, N_("greyedout inset background"), "greyedoutbg", "linen", "greyedoutbg" },
{ Color_shadedbg, N_("shaded box"), "shaded", "red", "shaded" },
{ Color_shadedbg, N_("shaded box"), "shaded", "#ff0000", "shaded" },
{ Color_branchlabel, N_("branch label"), "branchlabel", "#c88000", "branchlabel" },
{ Color_footlabel, N_("footnote label"), "footlabel", "#00aaff", "footlabel" },
{ Color_indexlabel, N_("index label"), "indexlabel", "green", "indexlabel" },