X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fundo.C;h=b60d0e11b95f8c3d3fddbbd00d643ad1c4d003c7;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=fa377c3e548588d92f62c57a654f37097282eee6;hpb=de6418f37765fe452f135f96dee6d49897bff215;p=lyx.git diff --git a/src/undo.C b/src/undo.C index fa377c3e54..b60d0e11b9 100644 --- a/src/undo.C +++ b/src/undo.C @@ -96,7 +96,7 @@ void doRecordUndo(Undo::undo_kind kind, // fill in the real data to be saved if (cell.inMathed()) { // simply use the whole cell - undo.array = to_utf8(asString(cell.cell())); + undo.array = asString(cell.cell()); } else { // some more effort needed here as 'the whole cell' of the // main LyXText _is_ the whole document. @@ -170,8 +170,7 @@ bool textUndoOrRedo(BufferView & bv, // gained by storing just 'a few' paragraphs (most if not // all math inset cells have just one paragraph!) //lyxerr << "undo.array=" << undo.array <