From: Thibaut Cuvelier Date: Sun, 8 Jan 2023 21:17:02 +0000 (+0100) Subject: InsetIndex: remove unused code that created Coverity errors. X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=b42269f065f6b7705f6cc8e26dda638f07ff363a;p=features.git InsetIndex: remove unused code that created Coverity errors. --- diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index 32cabcaddf..f46001580f 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -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("\n")); - } - private: bool isModern()