Cosmetics mainly: Rename math.h to cmath, reorder some includes, remove some includes and remove some superfluous "lyx::".

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32934 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-01-10 12:37:50 +00:00
parent 2aa13815a1
commit 43c8de8138
5 changed files with 22 additions and 24 deletions

View File

@ -20,7 +20,8 @@
#include "support/lassert.h"
#include <boost/next_prior.hpp>
#include <math.h>
#include <cmath>
using namespace std;
using namespace lyx::support;

View File

@ -16,12 +16,12 @@
#include "support/FileName.h"
#include <string>
#include <QObject>
#include <QThread>
#include <QWaitCondition>
#include <string>
namespace lyx {

View File

@ -13,9 +13,9 @@
#include "FindAndReplace.h"
#include "GuiApplication.h"
#include "qt_helpers.h"
#include "GuiView.h"
#include "GuiWorkArea.h"
#include "qt_helpers.h"
#include "buffer_funcs.h"
#include "BufferParams.h"
@ -23,16 +23,17 @@
#include "Cursor.h"
#include "FuncRequest.h"
#include "lyxfind.h"
#include "OutputParams.h"
#include "output_latex.h"
#include "OutputParams.h"
#include "TexRow.h"
#include "alert.h"
#include "frontends/alert.h"
#include "support/debug.h"
#include "support/filetools.h"
#include "support/FileName.h"
#include "support/gettext.h"
#include "support/lassert.h"
#include "support/filetools.h"
#include <QCloseEvent>
#include <QLineEdit>

View File

@ -13,19 +13,19 @@
#include <config.h>
#include "GuiProgressView.h"
#include "GuiApplication.h"
#include "GuiApplication.h"
#include "qt_helpers.h"
#include "FuncRequest.h"
#include "support/debug.h"
#include "support/convert.h"
#include <QSettings>
#include <QTime>
#include "support/debug.h"
#include <QCheckBox>
#include <QDebug>
#include <QSettings>
#include <QTime>
using namespace std;
using namespace lyx::support;

View File

@ -17,39 +17,35 @@
#include "lyxfind.h"
#include "Buffer.h"
#include "BufferList.h"
#include "buffer_funcs.h"
#include "BufferList.h"
#include "BufferParams.h"
#include "BufferView.h"
#include "Changes.h"
#include "Cursor.h"
#include "CutAndPaste.h"
#include "FuncRequest.h"
#include "OutputParams.h"
#include "LyXFunc.h"
#include "output_latex.h"
#include "OutputParams.h"
#include "Paragraph.h"
#include "ParIterator.h"
#include "TexRow.h"
#include "Text.h"
#include "FuncRequest.h"
#include "LyXFunc.h"
#include "frontends/alert.h"
#include "mathed/InsetMath.h"
#include "mathed/InsetMathGrid.h"
#include "mathed/InsetMathHull.h"
#include "mathed/MathStream.h"
#include "frontends/alert.h"
#include "support/convert.h"
#include "support/debug.h"
#include "support/docstream.h"
#include "support/gettext.h"
#include "support/lstrings.h"
#include "support/lassert.h"
#include "frontends/Application.h"
#include "frontends/LyXView.h"
#include "support/lstrings.h"
#include <boost/regex.hpp>
#include <boost/next_prior.hpp>
@ -1226,7 +1222,7 @@ bool findAdv(BufferView * bv, FindAndReplaceOptions const & opt)
}
ostringstream & operator<<(ostringstream & os, lyx::FindAndReplaceOptions const & opt)
ostringstream & operator<<(ostringstream & os, FindAndReplaceOptions const & opt)
{
os << to_utf8(opt.search) << "\nEOSS\n"
<< opt.casesensitive << ' '
@ -1244,7 +1240,7 @@ ostringstream & operator<<(ostringstream & os, lyx::FindAndReplaceOptions const
return os;
}
istringstream & operator>>(istringstream & is, lyx::FindAndReplaceOptions & opt)
istringstream & operator>>(istringstream & is, FindAndReplaceOptions & opt)
{
LYXERR(Debug::FIND, "parsing");
string s;