]> git.lyx.org Git - features.git/commitdiff
Revert "Comment out unused functions to restore -Werror"
authorScott Kostyshak <skostysh@lyx.org>
Sun, 28 Oct 2018 15:43:47 +0000 (11:43 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 28 Oct 2018 15:43:47 +0000 (11:43 -0400)
This reverts commit bceb2390b473db347b72f9fc16f63a60223daa9d.

For details, see:

https://www.mail-archive.com/search?l=mid&q=4724814.5HqUF52VLN%40amd64

src/lyxfind.cpp

index c53754303f2aeaa16032d4a2b38671bd5ea33c59..87a57b8b5677c32f94dbc00af4a16674bb297362 100644 (file)
@@ -1155,7 +1155,6 @@ bool IgnoreFormats::ignoreFrontMatter= true;
 bool IgnoreFormats::ignoreColor      = false;
 bool IgnoreFormats::ignoreLanguage   = false;
 
-#if 0
 void IgnoreFormats::setIgnoreFormat(string type, bool value)
 {
   if (type == "color") {
@@ -1192,14 +1191,11 @@ void IgnoreFormats::setIgnoreFormat(string type, bool value)
     ignoreStrikeOut = value;
   }
 }
-#endif
 
-#if 0
 void setIgnoreFormat(string type, bool value)
 {
   IgnoreFormats().setIgnoreFormat(type, value);
 }
-#endif
 
 class LatexInfo {
  private: