]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.cpp
* do not lookup the same macro all the time
[lyx.git] / src / lyxfind.cpp
index 8aa3175ab693b8490a83b3bc05f0c37f197bc0a3..1db6322b49889c2f4f1023140c53b04a8ab452f6 100644 (file)
@@ -23,7 +23,7 @@
 #include "debug.h"
 #include "FuncRequest.h"
 #include "gettext.h"
-#include "LyXText.h"
+#include "Text.h"
 #include "Paragraph.h"
 #include "ParIterator.h"
 #include "Undo.h"
@@ -179,7 +179,7 @@ int replaceAll(BufferView * bv,
        DocIterator cur = doc_iterator_begin(buf.inset());
        while (findForward(cur, match)) {
                pos_type pos = cur.pos();
-               LyXFont const font
+               Font const font
                        = cur.paragraph().getFontSettings(buf.params(), pos);
                int striked = ssize - cur.paragraph().eraseChars(pos, pos + ssize,
                                                            buf.params().trackChanges);