]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.cpp
Fix use of std::regex_match
[lyx.git] / src / insets / InsetLine.cpp
index 1688af3ccf44aed376e485428b00918fc308244e..e6964aad791cf486e1a950e55de2d543eeeb651b 100644 (file)
@@ -24,6 +24,7 @@
 #include "Length.h"
 #include "MetricsInfo.h"
 #include "OutputParams.h"
+#include "output_docbook.h"
 #include "output_xhtml.h"
 #include "texstream.h"
 #include "Text.h"
@@ -183,10 +184,9 @@ int InsetLine::plaintext(odocstringstream & os,
 }
 
 
-int InsetLine::docbook(odocstream & os, OutputParams const &) const
+void InsetLine::docbook(XMLStream & xs, OutputParams const &) const
 {
-       os << '\n';
-       return 0;
+       xs << xml::CR();
 }