]> git.lyx.org Git - features.git/commitdiff
InsetIndex: remove unused code that created Coverity errors.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 8 Jan 2023 21:17:02 +0000 (22:17 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sun, 8 Jan 2023 21:17:02 +0000 (22:17 +0100)
src/insets/InsetIndex.cpp

index 32cabcaddf10e75c8091b154f01cb1e8feafc9c2..f46001580f68197b7724706de826b08c686808a1 100644 (file)
@@ -1432,19 +1432,6 @@ public:
                        parseAsLegacy();
        }
 
-       /// When parsing this entry, some errors may be found; they are reported as a single string.
-       // It is up to the caller to send this string to LYXERR and the output file, as needed.
-       const docstring & output_error() const
-       {
-               return output_error_;
-       }
-
-       void output_error(XMLStream xs) const
-       {
-               LYXERR0(output_error());
-               xs << XMLStream::ESCAPE_NONE << (from_utf8("<!-- Output Error: ") + output_error() + from_utf8(" -->\n"));
-       }
-
 
 private:
        bool isModern()