]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.C
src/support/unlink.C: Fix an #include error
[lyx.git] / src / lyxfind.C
index 14d84cd857e277d8fb8517f880ea963755b9bf79..99181a4c09dc280cb0f36539cd8c12d2b7e69494 100644 (file)
@@ -18,6 +18,7 @@
 #include "buffer.h"
 #include "cursor.h"
 #include "CutAndPaste.h"
+#include "buffer_funcs.h"
 #include "BufferView.h"
 #include "debug.h"
 #include "funcrequest.h"
@@ -190,7 +191,7 @@ int replaceAll(BufferView * bv,
                ++num;
        }
 
-       bv->buffer()->text().init(bv);
+       updateLabels(buf);
        bv->putSelectionAt(doc_iterator_begin(buf.inset()), 0, false);
        if (num)
                buf.markDirty();