]> git.lyx.org Git - features.git/commitdiff
Amend aaffcd0b: Remove some remnants ...
authorKornel Benko <kornel@lyx.org>
Wed, 27 Feb 2019 09:33:25 +0000 (10:33 +0100)
committerKornel Benko <kornel@lyx.org>
Wed, 27 Feb 2019 09:33:25 +0000 (10:33 +0100)
src/lyxfind.cpp

index 29873aea7386b5d5aeff8341928200ffa1b1fe23..02e290a6c0192cd6ef0da64daabe2edae2acdda8 100644 (file)
@@ -3303,14 +3303,8 @@ docstring stringifyFromForSearch(FindAndReplaceOptions const & opt,
                return docstring();
        if (!opt.ignoreformat)
                return latexifyFromCursor(cur, len);
-       else {
-               if (len < 0) {
-                       return stringifyFromCursor(cur, len);
-               }
-               else {
-                       return stringifyFromCursor(cur, len);
-               }
-       }
+       else
+               return stringifyFromCursor(cur, len);
 }