mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Use cheaper conversion method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34095 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e8529a2ecf
commit
c0e12a0b8f
@ -673,10 +673,10 @@ int Buffer::readHeader(Lexer & lex)
|
|||||||
params().isfontcolor = false;
|
params().isfontcolor = false;
|
||||||
params().notefontcolor = lyx::rgbFromHexName("#cccccc");
|
params().notefontcolor = lyx::rgbFromHexName("#cccccc");
|
||||||
lyx::dispatch(FuncRequest(LFUN_SET_COLOR,
|
lyx::dispatch(FuncRequest(LFUN_SET_COLOR,
|
||||||
from_utf8("greyedouttext #cccccc")));
|
from_ascii("greyedouttext #cccccc")));
|
||||||
params().boxbgcolor = lyx::rgbFromHexName("#ff0000");
|
params().boxbgcolor = lyx::rgbFromHexName("#ff0000");
|
||||||
lyx::dispatch(FuncRequest(LFUN_SET_COLOR,
|
lyx::dispatch(FuncRequest(LFUN_SET_COLOR,
|
||||||
from_utf8("shaded #ff0000")));
|
from_ascii("shaded #ff0000")));
|
||||||
|
|
||||||
for (int i = 0; i < 4; ++i) {
|
for (int i = 0; i < 4; ++i) {
|
||||||
params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];
|
params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user