]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetLine.cpp
Cocoa based Qt-4.6 needs to paint every character separately to match metrics computa...
[lyx.git] / src / insets / InsetLine.cpp
index 022392d46234acdee8ce9e667538f5efab4c7e9b..515efbba4f50931ec144fbeb11a7285435e811c6 100644 (file)
@@ -199,8 +199,7 @@ int InsetLine::docbook(odocstream & os, OutputParams const &) const
 
 docstring InsetLine::xhtml(XHTMLStream & xs, OutputParams const &) const
 {
-       xs << html::CompTag("hr");
-       xs.cr();
+       xs << html::CompTag("hr") << html::CR();
        return docstring();
 }