]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
Revert "Fix a number of signedness warnings"
[lyx.git] / src / lyxfind.h
index 984473e77db341e414cc6b3f42236c4005d4a25f..9daf4c8d74e560433d1ba11c01c3a04175562afe 100644 (file)
 
 namespace lyx {
 
-
-
-class Buffer;
 class Cursor;
 class BufferView;
 class DocIterator;
 class FuncRequest;
-class Text;
 
 /** Encode the parameters needed to find \c search as a string
  *  that can be dispatched to the LyX core in a FuncRequest wrapper.
@@ -120,7 +116,7 @@ public:
 };
 
 /// Set the formats that should be ignored
-void setIgnoreFormat(std::string type, bool value);
+void setIgnoreFormat(std::string const & type, bool value);
 
 /// Write a FindAdvOptions instance to a stringstream
 std::ostringstream & operator<<(std::ostringstream & os, lyx::FindAndReplaceOptions const & opt);
@@ -143,9 +139,6 @@ docstring stringifyFromForSearch(
        DocIterator const & cur,
        int len = -1);
 
-/** Set format type to be ignore by search
- **/
-void setIgnoreFormat(std::string type, bool value);
 
 } // namespace lyx