]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfr0.h
use the new sstream return non-pods as const, use string instead of char * in a lot...
[lyx.git] / src / lyxfr0.h
index bf549062dbec6bd5fccd81c058e1ec637e89056d..09949f2ed10a86a840499d2617ab5e61b326b269 100644 (file)
@@ -51,7 +51,7 @@ public:
        }
 
        ///
-       string SearchString() const {
+       string const SearchString() const {
                return fl_get_input(search_form->input_search);
        }
 
@@ -71,7 +71,7 @@ public:
        ///
        void SetSearchString(string const & ls);
        ///
-       string ReplaceString() const;
+       string const ReplaceString() const;
 
        ///
        bool ValidSearchData() const { return !(SearchString().empty()); }