]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
Fix crash when running lyx -dbg insets -e ...
[lyx.git] / src / lyxfind.h
index 37509ef0a2ca4503ddc22742bad3087f03387a2c..59e25534587102e9c36184d93299540c3bb6d61f 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 #ifndef LYXFIND_H
 #define LYXFIND_H
 
@@ -6,7 +7,7 @@
 #endif
 
 #include "LString.h"
-#include "lyxparagraph.h"
+#include "paragraph.h"
 
 class BufferView;
 
@@ -17,7 +18,7 @@ bool LyXFind(BufferView * bv, string const &, bool const &, bool const &,
             bool const &);
 
 /// returns true if the specified string is at the specified  position
-bool IsStringInText(LyXParagraph * par, LyXParagraph::size_type pos,
+bool IsStringInText(Paragraph * par, Paragraph::size_type pos,
                    string const & str, bool const & = true,
                    bool const & = false);