]> git.lyx.org Git - lyx.git/blobdiff - src/output_plaintext.cpp
SCons: msvc does not need this /TP option any more after we rename .C => .cpp. Also...
[lyx.git] / src / output_plaintext.cpp
index 6252056646124da202544a9835069a8a23dfdd47..f741e4b153734f508d9572c03d7a475cf48d2e6a 100644 (file)
@@ -89,7 +89,7 @@ void writePlaintextParagraph(Buffer const & buf,
        depth_type depth = par.params().depth();
 
        // First write the layout
-       string const & tmp = par.layout()->name();
+       string const tmp = to_utf8(par.layout()->name());
        if (compare_ascii_no_case(tmp, "itemize") == 0) {
                ltype = 1;
                ltype_depth = depth + 1;