From: André Pönitz Date: Tue, 6 Nov 2007 21:18:39 +0000 (+0000) Subject: rmove unused file X-Git-Tag: 1.6.10~7447 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=a8ea5cc4939c462d0a2c8b4d27baf21cf4ecc8e1;p=features.git rmove unused file git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21481 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/support/Makefile.am b/src/support/Makefile.am index 1a9dfe2d74..1cf431e815 100644 --- a/src/support/Makefile.am +++ b/src/support/Makefile.am @@ -61,7 +61,6 @@ liblyxsupport_la_SOURCES = \ lstrings.h \ lyxalgo.h \ lyxlib.h \ - lyxmanip.h \ lyxtime.cpp \ lyxtime.h \ lyxsum.cpp \ diff --git a/src/support/lyxmanip.h b/src/support/lyxmanip.h deleted file mode 100644 index b2d0861153..0000000000 --- a/src/support/lyxmanip.h +++ /dev/null @@ -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