]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPhantom.cpp
Fix bug #12795
[lyx.git] / src / insets / InsetPhantom.cpp
index 4771cb83ee42899992846295e967d8b67141d664..d1a25f6a70bc32cfcce4f32712c6112e7e37ca97 100644 (file)
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "BufferView.h"
-#include "BufferParams.h"
 #include "Cursor.h"
 #include "Dimension.h"
 #include "DispatchResult.h"
 #include "Exporter.h"
 #include "FuncRequest.h"
 #include "FuncStatus.h"
-#include "InsetIterator.h"
 #include "LaTeXFeatures.h"
 #include "Lexer.h"
 #include "MetricsInfo.h"
-#include "OutputParams.h"
 #include "texstream.h"
 #include "TextClass.h"
 
@@ -348,22 +345,9 @@ int InsetPhantom::plaintext(odocstringstream & os,
 }
 
 
-int InsetPhantom::docbook(odocstream & os, OutputParams const & runparams) const
+void InsetPhantom::docbook(XMLStream &, OutputParams const &) const
 {
-       docstring cmdname;
-       switch (params_.type) {
-       case InsetPhantomParams::Phantom:
-       case InsetPhantomParams::HPhantom:
-       case InsetPhantomParams::VPhantom:
-       default:
-               cmdname = from_ascii("phantom");
-               break;
-       }
-       os << "<" + cmdname + ">";
-       int const i = InsetCollapsible::docbook(os, runparams);
-       os << "</" + cmdname + ">";
-
-       return i;
+       return;
 }