]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstream.h
Output docbook as utf8. Probably quite a bit more work needed, but then help form...
[lyx.git] / src / support / docstream.h
index 4552a2f68f51ac7c92b12f04ac434f87d18673c3..c1f4f1ad8b056bbfcdd8930b36f77519021fd9d6 100644 (file)
@@ -62,5 +62,13 @@ typedef std::basic_istringstream<char_type> idocstringstream;
 /// UCS4 output stringstream
 typedef std::basic_ostringstream<char_type> odocstringstream;
 
+inline
+odocstream & operator<<(odocstream & os, char c)
+{
+    os.put(c);
+    return os;
+}
+
 }
+
 #endif