From: Uwe Stöhr Date: Thu, 20 Aug 2009 00:28:34 +0000 (+0000) Subject: lyxfind.cpp/h: make LyX compilable X-Git-Tag: 2.0.0~5630 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8a35204454230995c950659a066f5d148f71f8f1;p=features.git lyxfind.cpp/h: make LyX compilable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31163 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 93075611b8..32ffc66d80 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -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) { } diff --git a/src/lyxfind.h b/src/lyxfind.h index 57849d28f6..f8a77494f0 100644 --- a/src/lyxfind.h +++ b/src/lyxfind.h @@ -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