]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlSearch.C
get rid of namesapce lyxfind and introduce namespace lyx::find
[features.git] / src / frontends / controllers / ControlSearch.C
index a918eb1b1e420bf8d9c461105288c9ebd9b1bc2f..d432c3ef55cdf33a96a3f740fc60f7256ebf7633 100644 (file)
@@ -28,7 +28,7 @@ ControlSearch::ControlSearch(LyXView & lv, Dialogs & d)
 void ControlSearch::find(string const & search,
                         bool casesensitive, bool matchword, bool forward)
 {
-       bool const found = lyxfind::LyXFind(bufferview(), search,
+       bool const found = lyx::find::find(bufferview(), search,
                                            forward, casesensitive,
                                            matchword);
 
@@ -45,7 +45,7 @@ void ControlSearch::replace(string const & search, string const & replace,
        // changed
        bool const once = !all;
        int const replace_count =
-               lyxfind::LyXReplace(bufferview(),
+               lyx::find::replace(bufferview(),
                                    search, replace, true, casesensitive,
                                    matchword, all, once);