]> git.lyx.org Git - features.git/commitdiff
Use cheaper conversion method.
authorEnrico Forestieri <forenr@lyx.org>
Thu, 8 Apr 2010 20:22:20 +0000 (20:22 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Thu, 8 Apr 2010 20:22:20 +0000 (20:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34095 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index a28a458f9695018fa2234a81ea90c87fe6578197..6bd4ab12b0a1d85ffcadb4b887276e1046a4b502 100644 (file)
@@ -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];