]> git.lyx.org Git - lyx.git/blobdiff - src/support/lyxmanip.h
remove reference to LaTeXStream
[lyx.git] / src / support / lyxmanip.h
index a03a0c7e0532fcf568c07ca92f75193908df5755..b2d08611536985bfe2265b1eec6a9c8ce24d24ca 100644 (file)
@@ -1,10 +1,21 @@
 // -*- C++ -*-
+/**
+ * \file lyxmanip.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef LYX_MANIP_H
 #define LYX_MANIP_H
 
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
+
 
-using std::ostream;
+namespace lyx {
 
 ///
 struct NewLineAndDepth_ {
@@ -22,10 +33,13 @@ NewLineAndDepth_ newlineAndDepth(int n)
 
 ///
 inline
-ostream & operator<<(ostream & os, NewLineAndDepth_ const & nlad_)
+std::ostream & operator<<(std::ostream & os, NewLineAndDepth_ const & nlad_)
 {
-       os << string(nlad_.depth_, ' ');
+       os << std::string(nlad_.depth_, ' ');
        return os;
 }
 
+
+} // namespace lyx
+
 #endif