From b42269f065f6b7705f6cc8e26dda638f07ff363a Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Sun, 8 Jan 2023 22:17:02 +0100 Subject: [PATCH] InsetIndex: remove unused code that created Coverity errors. --- src/insets/InsetIndex.cpp | 13 ------------- 1 file changed, 13 deletions(-) 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() -- 2.39.5