From 8a35204454230995c950659a066f5d148f71f8f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Thu, 20 Aug 2009 00:28:34 +0000 Subject: [PATCH] lyxfind.cpp/h: make LyX compilable git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31163 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/lyxfind.cpp | 5 +---- src/lyxfind.h | 4 +++- 2 files changed, 4 insertions(+), 5 deletions(-) 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 -- 2.39.2