commit b42269f065f6b7705f6cc8e26dda638f07ff363a
Author: Thibaut Cuvelier <[email protected]>
Date:   Sun Jan 8 22:17:02 2023 +0100

    InsetIndex: remove unused code that created Coverity errors.
---
 src/insets/InsetIndex.cpp |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index 32cabca..f460015 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("<!-- Output Error: 
") + output_error() + from_utf8(" -->\n"));
-       }
-
 
 private:
        bool isModern()
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to