]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.h
More requires --> required, for C++2a.
[lyx.git] / src / lyxfind.h
index 984473e77db341e414cc6b3f42236c4005d4a25f..bfaae8f43d96d6bfdda818cabdda8637eafd7fdc 100644 (file)
@@ -120,7 +120,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 +143,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