rmove unused file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21481 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-11-06 21:18:39 +00:00
parent f6fd9f1172
commit a8ea5cc493
2 changed files with 0 additions and 46 deletions

View File

@ -61,7 +61,6 @@ liblyxsupport_la_SOURCES = \
lstrings.h \ lstrings.h \
lyxalgo.h \ lyxalgo.h \
lyxlib.h \ lyxlib.h \
lyxmanip.h \
lyxtime.cpp \ lyxtime.cpp \
lyxtime.h \ lyxtime.h \
lyxsum.cpp \ lyxsum.cpp \

View File

@ -1,45 +0,0 @@
// -*- 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/std_ostream.h"
namespace lyx {
///
struct NewLineAndDepth_ {
int depth_;
};
///
inline
NewLineAndDepth_ newlineAndDepth(int n)
{
NewLineAndDepth_ nlad_;
nlad_.depth_ = n;
return nlad_;
}
///
inline
std::ostream & operator<<(std::ostream & os, NewLineAndDepth_ const & nlad_)
{
os << std::string(nlad_.depth_, ' ');
return os;
}
} // namespace lyx
#endif