From c0e12a0b8fbacb4066f14e83c12c38878724f066 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Thu, 8 Apr 2010 20:22:20 +0000 Subject: [PATCH] Use cheaper conversion method. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34095 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Buffer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]; -- 2.39.2