mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Removed all redundant using directives from the source.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7704 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0705dae8a3
commit
4c6e0fe422
@ -16,7 +16,6 @@
|
||||
#include <functional>
|
||||
|
||||
using std::bind2nd;
|
||||
using std::remove_if;
|
||||
using std::binary_function;
|
||||
using namespace lyx::support;
|
||||
|
||||
|
@ -44,15 +44,10 @@
|
||||
|
||||
extern BufferList bufferlist;
|
||||
|
||||
using lyx::pos_type;
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::pair;
|
||||
using std::endl;
|
||||
using std::ifstream;
|
||||
using std::vector;
|
||||
using std::find;
|
||||
using std::count_if;
|
||||
using std::vector;
|
||||
|
||||
|
||||
BufferView::BufferView(LyXView * owner, int xpos, int ypos,
|
||||
|
@ -65,10 +65,6 @@
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
|
||||
using std::vector;
|
||||
using std::find_if;
|
||||
using std::find;
|
||||
using std::pair;
|
||||
using std::endl;
|
||||
using std::make_pair;
|
||||
using std::min;
|
||||
|
@ -1,3 +1,38 @@
|
||||
2003-09-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* BranchList.C:
|
||||
* BufferView.C:
|
||||
* BufferView_pimpl.C:
|
||||
* CutAndPaste.C:
|
||||
* DepTable.C:
|
||||
* LaTeX.C:
|
||||
* LaTeXFeatures.C:
|
||||
* LyXAction.C:
|
||||
* MenuBackend.C:
|
||||
* TextCache.C:
|
||||
* aspell.C:
|
||||
* buffer.C:
|
||||
* bufferlist.C:
|
||||
* changes.C:
|
||||
* chset.C:
|
||||
* converter.C:
|
||||
* counters.C:
|
||||
* debug.C:
|
||||
* graph.C:
|
||||
* ispell.C:
|
||||
* lyx_cb.C:
|
||||
* lyxfind.C:
|
||||
* lyxfunc.C:
|
||||
* lyxlex_pimpl.C:
|
||||
* lyxrc.C:
|
||||
* lyxrow.C:
|
||||
* paragraph.C:
|
||||
* rowpainter.C:
|
||||
* texrow.C:
|
||||
* text.C:
|
||||
* text2.C:
|
||||
* toc.C: remove redundant using directives.
|
||||
|
||||
2003-09-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* LaTeXFeatures.h: remove #include "support/types.h".
|
||||
|
@ -25,8 +25,8 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::ifstream;
|
||||
using std::getline;
|
||||
using std::ifstream;
|
||||
|
||||
|
||||
Chktex::Chktex(string const & chktex, string const & f, string const & p)
|
||||
|
@ -29,10 +29,9 @@
|
||||
#include "support/LAssert.h"
|
||||
#include "support/lstrings.h"
|
||||
|
||||
using std::endl;
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
using std::for_each;
|
||||
using std::make_pair;
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
|
||||
using namespace lyx::support;
|
||||
|
@ -30,13 +30,12 @@ using std::time;
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::make_pair;
|
||||
using std::ofstream;
|
||||
using std::ifstream;
|
||||
using std::flush;
|
||||
using std::endl;
|
||||
using std::flush;
|
||||
using std::getline;
|
||||
|
||||
using std::ofstream;
|
||||
using std::ifstream;
|
||||
|
||||
inline
|
||||
bool DepTable::dep_info::changed() const
|
||||
|
@ -18,12 +18,12 @@
|
||||
|
||||
#include "insets/insetbranch.h"
|
||||
|
||||
|
||||
using lyx::pos_type;
|
||||
|
||||
using std::endl;
|
||||
using std::lower_bound;
|
||||
using std::upper_bound;
|
||||
using std::endl;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -37,13 +37,13 @@ using namespace lyx::support;
|
||||
using std::sscanf;
|
||||
#endif
|
||||
|
||||
using std::ifstream;
|
||||
using std::getline;
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
using std::getline;
|
||||
using std::ifstream;
|
||||
using std::set;
|
||||
using std::vector;
|
||||
|
||||
using boost::regex;
|
||||
using boost::regex_match;
|
||||
|
||||
#ifndef USE_INCLUDED_STRING
|
||||
using boost::smatch;
|
||||
|
@ -31,14 +31,13 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using lyx::textclass_type;
|
||||
|
||||
using std::endl;
|
||||
using std::list;
|
||||
using std::set;
|
||||
using std::find;
|
||||
|
||||
using std::list;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
using std::set;
|
||||
|
||||
|
||||
LaTeXFeatures::LaTeXFeatures(BufferParams const & p)
|
||||
|
@ -23,8 +23,6 @@ using namespace lyx::support;
|
||||
|
||||
using std::ostream;
|
||||
using std::endl;
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
|
||||
/*
|
||||
NAMING RULES FOR USER-COMMANDS
|
||||
|
@ -48,12 +48,12 @@ extern boost::scoped_ptr<kb_keymap> toplevel_keymap;
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
using std::max;
|
||||
using std::pair;
|
||||
using std::find_if;
|
||||
using std::max;
|
||||
using std::sort;
|
||||
|
||||
using std::vector;
|
||||
|
||||
// This is the global menu definition
|
||||
MenuBackend menubackend;
|
||||
|
||||
|
@ -17,13 +17,13 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using std::ostream;
|
||||
using std::for_each;
|
||||
using std::remove_if;
|
||||
using std::find_if;
|
||||
using std::endl;
|
||||
using std::find_if;
|
||||
using std::for_each;
|
||||
using std::make_pair;
|
||||
|
||||
using std::ostream;
|
||||
|
||||
extern BufferList bufferlist;
|
||||
|
||||
namespace {
|
||||
|
@ -18,6 +18,7 @@
|
||||
|
||||
using std::sort;
|
||||
|
||||
|
||||
Thesaurus::Thesaurus()
|
||||
{
|
||||
aik_ = new Aiksaurus;
|
||||
|
@ -23,13 +23,14 @@
|
||||
|
||||
#include "frontends/controllers/ControlMath.h"
|
||||
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
using std::make_pair;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
ToolbarBackend toolbarbackend;
|
||||
|
||||
namespace {
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
|
||||
ASpell::ASpell(BufferParams const &, string const & lang)
|
||||
: els(0), spell_error_object(0)
|
||||
|
22
src/buffer.C
22
src/buffer.C
@ -68,28 +68,22 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
#ifndef CXX_GLOBAL_CSTD
|
||||
using std::pow;
|
||||
#endif
|
||||
using std::endl;
|
||||
using std::for_each;
|
||||
using std::make_pair;
|
||||
|
||||
using std::ifstream;
|
||||
using std::list;
|
||||
using std::ios;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
using std::ofstream;
|
||||
using std::ifstream;
|
||||
using std::fstream;
|
||||
using std::ios;
|
||||
using std::setw;
|
||||
using std::endl;
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
using std::vector;
|
||||
using std::map;
|
||||
using std::stack;
|
||||
using std::list;
|
||||
using std::for_each;
|
||||
using std::vector;
|
||||
|
||||
using lyx::pos_type;
|
||||
using lyx::textclass_type;
|
||||
|
||||
|
||||
// all these externs should eventually be removed.
|
||||
extern BufferList bufferlist;
|
||||
|
@ -31,12 +31,12 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::find;
|
||||
using std::endl;
|
||||
using std::find;
|
||||
using std::find_if;
|
||||
using std::for_each;
|
||||
using std::mem_fun;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
BufferList::BufferList()
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::endl;
|
||||
using lyx::pos_type;
|
||||
|
||||
|
12
src/chset.C
12
src/chset.C
@ -22,13 +22,14 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::ifstream;
|
||||
using std::getline;
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
using std::endl;
|
||||
using std::getline;
|
||||
using std::make_pair;
|
||||
|
||||
using std::ifstream;
|
||||
using std::pair;
|
||||
|
||||
using boost::regex;
|
||||
using boost::regex_match;
|
||||
|
||||
#ifndef USE_INCLUDED_STRING
|
||||
using boost::smatch;
|
||||
@ -37,7 +38,6 @@ using boost::cmatch;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
bool CharacterSet::loadFile(string const & fname)
|
||||
{
|
||||
map_.clear();
|
||||
|
@ -25,18 +25,14 @@
|
||||
#include "support/path.h"
|
||||
#include "support/systemcall.h"
|
||||
|
||||
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
#ifndef CXX_GLOBAL_CSTD
|
||||
using std::isdigit;
|
||||
#endif
|
||||
|
||||
using std::vector;
|
||||
using std::endl;
|
||||
using std::find_if;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
string const token_from("$$i");
|
||||
|
@ -22,7 +22,6 @@ using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::ostringstream;
|
||||
using std::vector;
|
||||
|
||||
|
||||
Counter::Counter()
|
||||
|
@ -21,7 +21,6 @@ using namespace lyx::support;
|
||||
|
||||
using std::ostream;
|
||||
using std::setw;
|
||||
using std::endl;
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -32,9 +32,10 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::find;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -1,3 +1,11 @@
|
||||
2003-09-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* ControlCommandBuffer.C:
|
||||
* ControlDocument.C:
|
||||
* ControlPrefs.C:
|
||||
* helper_funcs.C:
|
||||
* tex_helpers.C: remove redundant using directives.
|
||||
|
||||
2003-09-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* ButtonController.h:
|
||||
|
@ -22,12 +22,14 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::back_inserter;
|
||||
using std::transform;
|
||||
using std::endl;
|
||||
|
||||
using std::vector;
|
||||
|
||||
using namespace bv_funcs;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
struct prefix_p {
|
||||
|
@ -33,8 +33,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
|
||||
|
||||
ControlDocument::ControlDocument(LyXView & lv, Dialogs & d)
|
||||
: ControlDialogBD(lv, d), bp_(0)
|
||||
|
@ -33,8 +33,9 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -32,7 +32,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::pair;
|
||||
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::make_pair;
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
|
||||
|
@ -26,10 +26,7 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::endl;
|
||||
using std::sort;
|
||||
using std::unique;
|
||||
|
||||
|
||||
// build filelists of all availabe bst/cls/sty-files. done through
|
||||
|
@ -1,3 +1,25 @@
|
||||
2003-09-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* FileDialog.C:
|
||||
* QCitation.C:
|
||||
* QCitationDialog.C:
|
||||
* QCommandBuffer.C:
|
||||
* QContentPane.C:
|
||||
* QGraphics.C:
|
||||
* QLMenubar.C:
|
||||
* QLPopupMenu.C:
|
||||
* QLog.C:
|
||||
* QMathDialog.C:
|
||||
* QParagraphDialog.C:
|
||||
* QPrefsDialog.C:
|
||||
* QRef.C:
|
||||
* QTexinfo.C:
|
||||
* QtView.C:
|
||||
* lyx_gui.C:
|
||||
* panelstack.C:
|
||||
* qscreen.C:
|
||||
* qt_helpers.C: remove redundant using directives.
|
||||
|
||||
2003-09-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* BulletsModule.h: remove #include "support/std_string.h", <vector>.
|
||||
|
@ -17,10 +17,6 @@
|
||||
#include "qt_helpers.h"
|
||||
#include "gettext.h"
|
||||
|
||||
#include <utility>
|
||||
|
||||
using std::make_pair;
|
||||
using std::pair;
|
||||
using std::endl;
|
||||
|
||||
|
||||
|
@ -27,6 +27,7 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::getline;
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
@ -31,14 +31,11 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::find;
|
||||
using std::max;
|
||||
using std::min;
|
||||
using std::pair;
|
||||
using std::sort;
|
||||
|
||||
using std::vector;
|
||||
|
||||
typedef QController<ControlCitation, QView<QCitationDialog> > base_class;
|
||||
|
||||
typedef QController<ControlCitation, QView<QCitationDialog> > base_class;
|
||||
|
||||
QCitation::QCitation(Dialog & parent)
|
||||
: base_class(parent, _("LyX: Citation Reference"))
|
||||
|
@ -24,8 +24,6 @@
|
||||
#include "QCitation.h"
|
||||
|
||||
using std::vector;
|
||||
using std::find;
|
||||
using std::max;
|
||||
|
||||
|
||||
QCitationDialog::QCitationDialog(QCitation * form)
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "support/filetools.h"
|
||||
#include "controllers/ControlCommandBuffer.h"
|
||||
#include "qt_helpers.h"
|
||||
@ -28,7 +27,6 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::endl;
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -20,7 +20,6 @@
|
||||
|
||||
#include "funcrequest.h"
|
||||
|
||||
using std::endl;
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -37,7 +37,6 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::endl;
|
||||
|
||||
typedef QController<ControlGraphics, QView<QGraphicsDialog> > base_class;
|
||||
|
||||
|
@ -27,8 +27,9 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::find_if;
|
||||
using std::endl;
|
||||
using std::find_if;
|
||||
|
||||
|
||||
namespace lyx {
|
||||
namespace graphics {
|
||||
|
@ -20,11 +20,6 @@
|
||||
#include <qcursor.h>
|
||||
|
||||
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
using std::max;
|
||||
using std::min;
|
||||
using std::for_each;
|
||||
using std::pair;
|
||||
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
#include <qpainter.h>
|
||||
|
||||
|
||||
using std::endl;
|
||||
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
|
||||
|
@ -12,7 +12,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "debug.h"
|
||||
#include "gettext.h"
|
||||
#include "lyxfunc.h"
|
||||
@ -20,8 +19,6 @@
|
||||
#include "FuncStatus.h"
|
||||
#include "buffer.h"
|
||||
|
||||
|
||||
|
||||
#include "QtView.h"
|
||||
#include "QLToolbar.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "qt_helpers.h"
|
||||
#include "ControlLog.h"
|
||||
#include "support/std_sstream.h"
|
||||
@ -25,7 +24,6 @@
|
||||
#include <fstream>
|
||||
|
||||
using std::ifstream;
|
||||
using std::getline;
|
||||
using std::ostringstream;
|
||||
|
||||
typedef QController<ControlLog, QView<QLogDialog> > base_class;
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "QLyXKeySym.h"
|
||||
#include "qlkey.h"
|
||||
#include "debug.h"
|
||||
@ -23,8 +22,10 @@
|
||||
#include <map>
|
||||
|
||||
using std::endl;
|
||||
|
||||
using std::map;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
typedef map<string, QTextCodec *> EncodingMap;
|
||||
|
@ -26,8 +26,6 @@
|
||||
#include <qlistbox.h>
|
||||
#include <qpopupmenu.h>
|
||||
|
||||
using std::min;
|
||||
using std::max;
|
||||
|
||||
|
||||
class QScrollViewSingle : public QScrollView {
|
||||
|
@ -35,10 +35,12 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::bind2nd;
|
||||
using std::remove_if;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
typedef QController<ControlParagraph, QView<QParagraphDialog> > base_class;
|
||||
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "QParagraphDialog.h"
|
||||
#include "QParagraph.h"
|
||||
|
||||
@ -24,9 +23,6 @@
|
||||
#include "qt_helpers.h"
|
||||
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
QParagraphDialog::QParagraphDialog(QParagraph * form)
|
||||
: QParagraphDialogBase(0, 0, false, 0),
|
||||
form_(form)
|
||||
|
@ -51,12 +51,13 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::pair;
|
||||
using std::ostringstream;
|
||||
using std::endl;
|
||||
using std::setfill;
|
||||
using std::setw;
|
||||
using std::endl;
|
||||
|
||||
using std::ostringstream;
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
|
||||
|
||||
typedef Qt2CB<ControlPrefs, Qt2DB<QPrefsDialog> > base_class;
|
||||
|
@ -46,7 +46,6 @@
|
||||
#include "qcoloritem.h"
|
||||
#include "qfontexample.h"
|
||||
|
||||
using std::endl;
|
||||
|
||||
QPrefsDialog::QPrefsDialog(QPrefs * form)
|
||||
: QPrefsDialogBase(0, 0, false, 0), form_(form)
|
||||
|
@ -27,11 +27,7 @@
|
||||
|
||||
#include "qt_helpers.h"
|
||||
|
||||
using std::find;
|
||||
using std::max;
|
||||
using std::sort;
|
||||
using std::vector;
|
||||
using std::endl;
|
||||
|
||||
|
||||
typedef QController<ControlRef, QView<QRefDialog> > base_class;
|
||||
|
@ -24,7 +24,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
|
||||
typedef QController<ControlTexinfo, QView<QTexinfoDialog> > base_class;
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include <stack>
|
||||
|
||||
#include "qt_helpers.h"
|
||||
@ -25,10 +24,12 @@
|
||||
#include <qcombobox.h>
|
||||
|
||||
using std::endl;
|
||||
|
||||
using std::pair;
|
||||
using std::stack;
|
||||
using std::vector;
|
||||
|
||||
|
||||
typedef QController<ControlToc, QView<QTocDialog> > base_class;
|
||||
|
||||
QToc::QToc(Dialog & parent)
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "QWorkArea.h"
|
||||
#include "debug.h"
|
||||
#include "qt_helpers.h"
|
||||
@ -28,9 +27,9 @@
|
||||
#include <X11/Xlib.h>
|
||||
#endif
|
||||
|
||||
|
||||
using std::endl;
|
||||
|
||||
|
||||
QWorkArea::QWorkArea(int, int, int, int)
|
||||
: WorkArea(), QWidget(qApp->mainWidget()), painter_(*this)
|
||||
{
|
||||
|
@ -11,14 +11,12 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "lyx_cb.h"
|
||||
#include "support/filetools.h"
|
||||
#include "MenuBackend.h"
|
||||
#include "lyxfunc.h"
|
||||
#include "BufferView.h"
|
||||
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
#include "QtView.h"
|
||||
@ -32,7 +30,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
#include "iconpalette.h"
|
||||
@ -22,9 +21,11 @@
|
||||
|
||||
using std::endl;
|
||||
using std::make_pair;
|
||||
using std::vector;
|
||||
using std::max;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
int const button_size = 40;
|
||||
|
||||
|
||||
|
@ -47,9 +47,9 @@ using namespace lyx::support;
|
||||
using std::exit;
|
||||
#endif
|
||||
|
||||
using std::vector;
|
||||
using std::map;
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
|
||||
|
||||
extern BufferList bufferlist;
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::map;
|
||||
|
||||
|
||||
PanelStack::PanelStack(QWidget * parent, const char * name)
|
||||
: QWidget(parent, name)
|
||||
|
@ -32,10 +32,11 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
|
||||
namespace {
|
||||
|
||||
void addFontPath()
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
|
||||
#include "QWorkArea.h"
|
||||
#include "qscreen.h"
|
||||
#include "debug.h"
|
||||
@ -19,8 +17,7 @@
|
||||
#include <qapplication.h>
|
||||
|
||||
using std::endl;
|
||||
using std::max;
|
||||
using std::min;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -19,10 +19,10 @@
|
||||
#include <qlineedit.h>
|
||||
#include <qtextcodec.h>
|
||||
|
||||
using std::make_pair;
|
||||
|
||||
using std::pair;
|
||||
using std::make_pair;
|
||||
using std::min;
|
||||
|
||||
|
||||
string makeFontName(string const & family, string const & foundry)
|
||||
{
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include "lyx_forms.h"
|
||||
|
||||
using std::endl;
|
||||
using std::make_pair;
|
||||
using std::pair;
|
||||
|
||||
|
@ -1,3 +1,23 @@
|
||||
2003-09-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* Alert_pimpl.C:
|
||||
* FileDialog.C:
|
||||
* FormBibtex.C:
|
||||
* FormCharacter.C:
|
||||
* FormCitation.C:
|
||||
* FormDocument.C:
|
||||
* FormMathsDelim.C:
|
||||
* FormNote.C:
|
||||
* FormPreferences.C:
|
||||
* FormSpellchecker.C:
|
||||
* FormToc.C:
|
||||
* RadioButtonGroup.C:
|
||||
* XFormsMenubar.C:
|
||||
* XMiniBuffer.C:
|
||||
* XPainter.C:
|
||||
* xforms_helpers.C:
|
||||
* xscreen.C: remove redundant using directives.
|
||||
|
||||
2003-09-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* FormAboutlyx.h: remove #include <boost/scoped_ptr.hpp>.
|
||||
|
@ -30,6 +30,7 @@ using std::floor;
|
||||
using std::max;
|
||||
using std::min;
|
||||
using std::setw;
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
@ -21,8 +21,6 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::make_pair;
|
||||
using std::pair;
|
||||
|
||||
|
||||
FileDialog::FileDialog(string const &t, kb_action s, Button b1, Button b2)
|
||||
|
@ -29,7 +29,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::sort;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::find;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -27,9 +27,7 @@ using namespace lyx::support;
|
||||
|
||||
using std::find;
|
||||
using std::max;
|
||||
using std::min;
|
||||
using std::sort;
|
||||
using std::pair;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -48,8 +48,7 @@ using namespace lyx::support;
|
||||
|
||||
using std::bind2nd;
|
||||
using std::endl;
|
||||
using std::setw;
|
||||
using std::setfill;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -55,6 +55,7 @@
|
||||
|
||||
using std::max;
|
||||
using std::sort;
|
||||
|
||||
using std::map;
|
||||
|
||||
using namespace lyx::support;
|
||||
|
@ -30,6 +30,7 @@ using namespace lyx::support;
|
||||
|
||||
using std::find;
|
||||
using std::find_if;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -44,7 +44,6 @@ static char const * delim_values[] = {
|
||||
"langle", "rangle", "|", "Vert", ".", 0
|
||||
};
|
||||
|
||||
using std::endl;
|
||||
|
||||
|
||||
typedef FormController<ControlMath, FormView<FD_maths_delim> > base_class;
|
||||
|
@ -8,7 +8,6 @@
|
||||
* Full author contact details are available in file CREDITS.
|
||||
*/
|
||||
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include "FormNote.h"
|
||||
@ -22,8 +21,6 @@
|
||||
|
||||
#include "lyx_forms.h"
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
typedef FormController<ControlNote, FormView<FD_note> > base_class;
|
||||
|
||||
|
@ -38,6 +38,7 @@ using namespace lyx::support;
|
||||
|
||||
using std::bind2nd;
|
||||
using std::remove_if;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -41,8 +41,7 @@ using std::endl;
|
||||
using std::make_pair;
|
||||
using std::max;
|
||||
using std::min;
|
||||
using std::setfill;
|
||||
using std::setw;
|
||||
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
|
||||
|
@ -29,6 +29,7 @@ using namespace lyx::support;
|
||||
using std::find;
|
||||
using std::max;
|
||||
using std::sort;
|
||||
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include "lyx_forms.h"
|
||||
|
||||
using std::endl;
|
||||
|
||||
|
||||
typedef FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > base_class;
|
||||
|
||||
|
@ -24,8 +24,8 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
#ifndef CXX_GLOBAL_CSTD
|
||||
using std::isupper;
|
||||
using std::islower;
|
||||
using std::isupper;
|
||||
#endif
|
||||
|
||||
using std::vector;
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::find_if;
|
||||
|
||||
|
||||
void RadioButtonGroup::init(FL_OBJECT * ob, size_type value)
|
||||
|
@ -30,8 +30,6 @@ using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::for_each;
|
||||
using std::max;
|
||||
using std::min;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -24,12 +24,6 @@
|
||||
|
||||
#include <boost/bind.hpp>
|
||||
|
||||
|
||||
#ifndef CXX_GLOBAL_CSTD
|
||||
using std::isprint;
|
||||
#endif
|
||||
|
||||
using std::endl;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -29,9 +29,6 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::max;
|
||||
|
||||
|
||||
XPainter::XPainter(XWorkArea & xwa)
|
||||
: Painter(), owner_(xwa)
|
||||
|
@ -11,17 +11,18 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "XWorkArea.h"
|
||||
|
||||
#include "debug.h"
|
||||
#include "XLyXKeySym.h"
|
||||
#include "funcrequest.h"
|
||||
#include "Timeout.h"
|
||||
|
||||
using std::endl;
|
||||
using std::abs;
|
||||
using std::hex;
|
||||
using std::dec;
|
||||
using std::endl;
|
||||
using std::hex;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -36,6 +36,7 @@ using namespace lyx::support;
|
||||
|
||||
using std::find_if;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
void init_graphics();
|
||||
|
@ -30,8 +30,8 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::make_pair;
|
||||
|
||||
using std::ofstream;
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -19,8 +19,6 @@
|
||||
#include "debug.h"
|
||||
|
||||
using std::endl;
|
||||
using std::max;
|
||||
using std::min;
|
||||
|
||||
|
||||
namespace {
|
||||
|
@ -17,11 +17,11 @@
|
||||
#include "debug.h"
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
using std::endl;
|
||||
using std::getline;
|
||||
|
||||
using std::istringstream;
|
||||
using std::vector;
|
||||
using std::getline;
|
||||
using std::endl;
|
||||
|
||||
|
||||
FuncRequest::FuncRequest()
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
using std::queue;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
2003-09-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* GraphicsImage.C:
|
||||
* GraphicsParams.C:
|
||||
* PreviewLoader.C: remove redundant using directives.
|
||||
|
||||
2003-09-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* GraphicsTypes.h:
|
||||
|
@ -16,8 +16,6 @@
|
||||
#include "GraphicsParams.h"
|
||||
#include "debug.h"
|
||||
|
||||
using std::endl;
|
||||
using std::abs;
|
||||
|
||||
namespace lyx {
|
||||
namespace graphics {
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
using std::abs;
|
||||
using std::istringstream;
|
||||
|
||||
|
||||
namespace lyx {
|
||||
|
@ -37,15 +37,11 @@
|
||||
|
||||
namespace support = lyx::support;
|
||||
|
||||
|
||||
using std::endl;
|
||||
using std::find;
|
||||
using std::fill;
|
||||
using std::find_if;
|
||||
using std::getline;
|
||||
using std::make_pair;
|
||||
using std::setfill;
|
||||
using std::setw;
|
||||
|
||||
using std::ifstream;
|
||||
using std::list;
|
||||
@ -56,6 +52,7 @@ using std::ostringstream;
|
||||
using std::pair;
|
||||
using std::vector;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
typedef pair<string, string> StrPair;
|
||||
|
@ -24,11 +24,10 @@
|
||||
#include "gettext.h"
|
||||
#include "BufferView.h"
|
||||
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::vector;
|
||||
using std::find;
|
||||
using std::vector;
|
||||
|
||||
|
||||
extern BufferList bufferlist;
|
||||
|
@ -1,3 +1,15 @@
|
||||
2003-09-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* insetcollapsable.C:
|
||||
* insetenv.C:
|
||||
* insetinclude.C:
|
||||
* insetlabel.C:
|
||||
* insetoptarg.C:
|
||||
* insetspecialchar.C:
|
||||
* insettabular.C:
|
||||
* insettext.C:
|
||||
* insettoc.C: remove redundant using directives.
|
||||
|
||||
2003-09-07 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* insetspace.h:
|
||||
|
@ -27,6 +27,7 @@ namespace support = lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::for_each;
|
||||
|
||||
using std::ostream;
|
||||
|
||||
|
||||
|
@ -30,6 +30,7 @@ using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::getline;
|
||||
|
||||
using std::ifstream;
|
||||
using std::ostream;
|
||||
using std::pair;
|
||||
|
@ -34,7 +34,6 @@ using namespace lyx::graphics;
|
||||
|
||||
using std::endl;
|
||||
using std::max;
|
||||
using std::vector;
|
||||
using std::ostream;
|
||||
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "paragraph_funcs.h"
|
||||
#include "texrow.h"
|
||||
|
||||
using std::endl;
|
||||
using std::auto_ptr;
|
||||
using std::ostream;
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user