X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Flyxmanip.h;h=b2d08611536985bfe2265b1eec6a9c8ce24d24ca;hb=2515a3bded01e27dcc3b19502e649f01fff5ace0;hp=52dc69692aaf2f9bcf5e900e77a25b2aeb2f2851;hpb=8ed9dbabde30b31a6a14e032fa42f682a196ef7a;p=lyx.git diff --git a/src/support/lyxmanip.h b/src/support/lyxmanip.h index 52dc69692a..b2d0861153 100644 --- a/src/support/lyxmanip.h +++ b/src/support/lyxmanip.h @@ -1,15 +1,28 @@ // -*- 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" + + +namespace lyx { /// struct NewLineAndDepth_ { int depth_; }; -// +/// inline NewLineAndDepth_ newlineAndDepth(int n) { @@ -18,12 +31,15 @@ NewLineAndDepth_ newlineAndDepth(int n) return nlad_; } -// +/// inline std::ostream & operator<<(std::ostream & os, NewLineAndDepth_ const & nlad_) { - os << string(nlad_.depth_, ' '); + os << std::string(nlad_.depth_, ' '); return os; } + +} // namespace lyx + #endif