From: Enrico Forestieri Date: Thu, 8 Apr 2010 20:22:20 +0000 (+0000) Subject: Use cheaper conversion method. X-Git-Tag: 2.0.0~3510 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c0e12a0b8fbacb4066f14e83c12c38878724f066;p=features.git Use cheaper conversion method. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34095 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index a28a458f96..6bd4ab12b0 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -673,10 +673,10 @@ int Buffer::readHeader(Lexer & lex) params().isfontcolor = false; params().notefontcolor = lyx::rgbFromHexName("#cccccc"); lyx::dispatch(FuncRequest(LFUN_SET_COLOR, - from_utf8("greyedouttext #cccccc"))); + from_ascii("greyedouttext #cccccc"))); params().boxbgcolor = lyx::rgbFromHexName("#ff0000"); lyx::dispatch(FuncRequest(LFUN_SET_COLOR, - from_utf8("shaded #ff0000"))); + from_ascii("shaded #ff0000"))); for (int i = 0; i < 4; ++i) { params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];