X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfind.C;h=932cbec30e0a31df48b9cd37ab980a076802070f;hb=52eb91c94fb70d58dceef430659c8781de2eccda;hp=c223c65b377c7a542c03a231aef9c6f5782cfa44;hpb=1761baaf24e8008dcb3976c0b647a2e3e653b5c6;p=lyx.git diff --git a/src/lyxfind.C b/src/lyxfind.C index c223c65b37..932cbec30e 100644 --- a/src/lyxfind.C +++ b/src/lyxfind.C @@ -29,7 +29,6 @@ #include "undo.h" #include "frontends/Alert.h" -#include "frontends/Selection.h" #include "support/convert.h" #include "support/docstream.h" @@ -366,7 +365,6 @@ bool findNextChange(BufferView * bv) // Now put cursor to end of selection: bv->cursor().setCursor(cur); bv->cursor().setSelection(); - theSelection().haveSelection(bv->cursor().selection()); return true; }