]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetPhantom.cpp
Fix use of std::regex_match
[lyx.git] / src / insets / InsetPhantom.cpp
index 4771cb83ee42899992846295e967d8b67141d664..37367add2ccafa0719b8c51ba57c10f983df3689 100644 (file)
@@ -348,22 +348,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;
 }