]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Find: Renamend for_searchAdv to for_serach in src/OutputParams.h
[lyx.git] / src / insets / InsetBranch.cpp
index 2b60ca6f44a4004678ecdebd76a3b2cce91c51db..7a102ceab6e6bc51064d04c7940189af00cc120a 100644 (file)
@@ -314,7 +314,7 @@ bool InsetBranch::producesOutput() const
 
 void InsetBranch::latex(otexstream & os, OutputParams const & runparams) const
 {
-       if (producesOutput() || ((runparams.for_searchAdv & OutputParams::SearchNonOutput) != 0)) {
+       if (producesOutput() || ((runparams.for_search & OutputParams::SearchNonOutput) != 0)) {
                OutputParams rp = runparams;
                rp.inbranch = true;
                InsetText::latex(os, rp);
@@ -328,7 +328,7 @@ void InsetBranch::latex(otexstream & os, OutputParams const & runparams) const
 int InsetBranch::plaintext(odocstringstream & os,
                           OutputParams const & runparams, size_t max_length) const
 {
-       if (!producesOutput() && ((runparams.for_searchAdv & OutputParams::SearchNonOutput) == 0))
+       if (!producesOutput() && ((runparams.for_search & OutputParams::SearchNonOutput) == 0))
                return 0;
 
        int len = InsetText::plaintext(os, runparams, max_length);