From a8ea5cc4939c462d0a2c8b4d27baf21cf4ecc8e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 6 Nov 2007 21:18:39 +0000 Subject: [PATCH] rmove unused file git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21481 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/Makefile.am | 1 - src/support/lyxmanip.h | 45 ----------------------------------------- 2 files changed, 46 deletions(-) delete mode 100644 src/support/lyxmanip.h 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 -- 2.39.2