]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.cpp
I'll find a solution for the 'dirList problem', Abdel.
[lyx.git] / src / lyxfind.cpp
index 00800c2c66dc95789d8e79c388cc83f7fafe6271..e9a462a8759cf9ce42d26278e92dec4c34db5182 100644 (file)
@@ -22,9 +22,9 @@
 #include "buffer_funcs.h"
 #include "BufferView.h"
 #include "Changes.h"
-#include "debug.h"
+#include "support/debug.h"
 #include "FuncRequest.h"
-#include "gettext.h"
+#include "support/gettext.h"
 #include "Text.h"
 #include "Paragraph.h"
 #include "ParIterator.h"
@@ -33,6 +33,7 @@
 
 #include "support/convert.h"
 #include "support/docstream.h"
+#include "support/lstrings.h"
 
 namespace lyx {
 
@@ -115,16 +116,15 @@ bool findChange(DocIterator & cur)
 bool searchAllowed(BufferView * /*bv*/, docstring const & str)
 {
        if (str.empty()) {
-               frontend::Alert::error(_("Search error"),
-                                           _("Search string is empty"));
+               frontend::Alert::error(_("Search error"), _("Search string is empty"));
                return false;
        }
        return true;
 }
 
 
-bool find(BufferView * bv, docstring const & searchstr, bool cs, bool mw, bool fw,
-         bool find_del = true)
+bool find(BufferView * bv, docstring const & searchstr,
+       bool cs, bool mw, bool fw, bool find_del = true)
 {
        if (!searchAllowed(bv, searchstr))
                return false;