]> git.lyx.org Git - features.git/commitdiff
lyxfind.cpp/h: make LyX compilable
authorUwe Stöhr <uwestoehr@web.de>
Thu, 20 Aug 2009 00:28:34 +0000 (00:28 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Thu, 20 Aug 2009 00:28:34 +0000 (00:28 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31163 a592a061-630c-0410-9148-cb99ea01b6c8

src/lyxfind.cpp
src/lyxfind.h

index 93075611b8fe82664e78d4c51263a4340419ef5e..32ffc66d8005c1eae9fd17e5a25fc3db055c3b0b 100644 (file)
@@ -1049,12 +1049,9 @@ docstring stringifyFromForSearch(FindAndReplaceOptions const & opt,
 }
 
 
-lyx::FindAndReplaceOptions::FindAndReplaceOptions(docstring const & search, bool casesensitive,
+FindAndReplaceOptions::FindAndReplaceOptions(docstring const & search, bool casesensitive,
        bool matchword, bool forward, bool expandmacros, bool ignoreformat,
        bool regexp, docstring const & replace, bool keep_case)
-       : search(search), casesensitive(casesensitive), matchword(matchword),
-       forward(forward), expandmacros(expandmacros), ignoreformat(ignoreformat),
-       regexp(regexp), replace(replace), keep_case(keep_case)
 {
 }
 
index 57849d28f690ed9397187e2071233bdce558256b..f8a77494f05dc608ecd1ca769af763d5325b690c 100644 (file)
@@ -86,7 +86,8 @@ public:
                bool expandmacros,
                bool ignoreformat,
                bool regexp,
-               docstring const & replace
+               docstring const & replace,
+               bool keep_case
        );
        FindAndReplaceOptions() {  }
        docstring search;
@@ -97,6 +98,7 @@ public:
        bool ignoreformat;
        bool regexp;
        docstring replace;
+       bool keep_case;
 };
 
 /// Write a FindAdvOptions instance to a stringstream