]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstream.cpp
add debug function which prints the callstack to stderr, disabled by default
[lyx.git] / src / support / docstream.cpp
index 56a78e832500fb15bcad9508e7ecfc5750dfa211..f5cf297c12644eb324e58e5e37acb17fb14fdd84 100644 (file)
@@ -447,6 +447,15 @@ otexstream & operator<<(otexstream & ots, SafeBreakLine)
 }
 
 
+otexstream & operator<<(otexstream & ots, odocstream_manip pf)
+{
+       ots.os() << pf;
+       if (pf == static_cast<odocstream_manip>(endl))
+               ots.texrow().newline();
+       return ots;
+}
+
+
 otexstream & operator<<(otexstream & ots, docstring const & s)
 {
        size_t const len = s.length();