#include <functional>
using std::bind2nd;
-using std::remove_if;
using std::binary_function;
using namespace lyx::support;
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,
#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;
+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".
using namespace lyx::support;
-using std::ifstream;
using std::getline;
+using std::ifstream;
Chktex::Chktex(string const & chktex, string const & f, string const & p)
#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;
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
#include "insets/insetbranch.h"
-
using lyx::pos_type;
+using std::endl;
using std::lower_bound;
using std::upper_bound;
-using std::endl;
+
namespace {
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;
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)
using std::ostream;
using std::endl;
-using std::pair;
-using std::make_pair;
/*
NAMING RULES FOR USER-COMMANDS
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;
#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 {
using std::sort;
+
Thesaurus::Thesaurus()
{
aik_ = new Aiksaurus;
#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 {
using namespace lyx::support;
-using std::endl;
ASpell::ASpell(BufferParams const &, string const & lang)
: els(0), spell_error_object(0)
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;
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()
using namespace lyx::support;
-using std::vector;
using std::endl;
using lyx::pos_type;
using namespace lyx::support;
-using std::ifstream;
+using std::endl;
using std::getline;
-using std::pair;
using std::make_pair;
-using std::endl;
+
+using std::ifstream;
+using std::pair;
+
using boost::regex;
-using boost::regex_match;
#ifndef USE_INCLUDED_STRING
using boost::smatch;
#endif
-
bool CharacterSet::loadFile(string const & fname)
{
map_.clear();
#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");
using std::endl;
using std::ostringstream;
-using std::vector;
Counter::Counter()
using std::ostream;
using std::setw;
-using std::endl;
namespace {
using namespace lyx::support;
-using std::vector;
using std::find;
+using std::vector;
+
namespace {
+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:
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 {
using namespace lyx::support;
-using std::endl;
-
ControlDocument::ControlDocument(LyXView & lv, Dialogs & d)
: ControlDialogBD(lv, d), bp_(0)
using namespace lyx::support;
-using std::pair;
using std::make_pair;
+
+using std::pair;
using std::vector;
using namespace lyx::support;
-using std::endl;
using std::pair;
using namespace lyx::support;
-using std::make_pair;
using std::pair;
using std::vector;
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
+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>.
#include "qt_helpers.h"
#include "gettext.h"
-#include <utility>
-
-using std::make_pair;
-using std::pair;
using std::endl;
using namespace lyx::support;
using std::getline;
+
using std::istringstream;
using std::ostringstream;
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"))
#include "QCitation.h"
using std::vector;
-using std::find;
-using std::max;
QCitationDialog::QCitationDialog(QCitation * form)
#include <config.h>
-
#include "support/filetools.h"
#include "controllers/ControlCommandBuffer.h"
#include "qt_helpers.h"
using namespace lyx::support;
using std::vector;
-using std::endl;
namespace {
#include "funcrequest.h"
-using std::endl;
namespace {
using namespace lyx::support;
using std::vector;
-using std::endl;
typedef QController<ControlGraphics, QView<QGraphicsDialog> > base_class;
using namespace lyx::support;
-using std::find_if;
using std::endl;
+using std::find_if;
+
namespace lyx {
namespace graphics {
#include <qcursor.h>
-using std::endl;
-using std::vector;
-using std::max;
-using std::min;
-using std::for_each;
using std::pair;
#include <qpainter.h>
-
using std::endl;
using namespace lyx::support;
-using std::endl;
using std::pair;
using std::make_pair;
#include <config.h>
-
#include "debug.h"
#include "gettext.h"
#include "lyxfunc.h"
#include "FuncStatus.h"
#include "buffer.h"
-
-
#include "QtView.h"
#include "QLToolbar.h"
#include <config.h>
-
#include "qt_helpers.h"
#include "ControlLog.h"
#include "support/std_sstream.h"
#include <fstream>
using std::ifstream;
-using std::getline;
using std::ostringstream;
typedef QController<ControlLog, QView<QLogDialog> > base_class;
#include <config.h>
-
#include "QLyXKeySym.h"
#include "qlkey.h"
#include "debug.h"
#include <map>
using std::endl;
+
using std::map;
+
namespace {
typedef map<string, QTextCodec *> EncodingMap;
#include <qlistbox.h>
#include <qpopupmenu.h>
-using std::min;
-using std::max;
class QScrollViewSingle : public QScrollView {
using namespace lyx::support;
-using std::vector;
using std::bind2nd;
using std::remove_if;
+using std::vector;
+
+
typedef QController<ControlParagraph, QView<QParagraphDialog> > base_class;
#include <config.h>
-
#include "QParagraphDialog.h"
#include "QParagraph.h"
#include "qt_helpers.h"
-using std::vector;
-
-
QParagraphDialog::QParagraphDialog(QParagraph * form)
: QParagraphDialogBase(0, 0, false, 0),
form_(form)
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;
#include "qcoloritem.h"
#include "qfontexample.h"
-using std::endl;
QPrefsDialog::QPrefsDialog(QPrefs * form)
: QPrefsDialogBase(0, 0, false, 0), form_(form)
#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;
using namespace lyx::support;
-using std::vector;
typedef QController<ControlTexinfo, QView<QTexinfoDialog> > base_class;
#include <config.h>
-
#include <stack>
#include "qt_helpers.h"
#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)
#include <config.h>
-
#include "QWorkArea.h"
#include "debug.h"
#include "qt_helpers.h"
#include <X11/Xlib.h>
#endif
-
using std::endl;
+
QWorkArea::QWorkArea(int, int, int, int)
: WorkArea(), QWidget(qApp->mainWidget()), painter_(*this)
{
#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"
using namespace lyx::support;
-using std::endl;
namespace {
#include <config.h>
-
#include "debug.h"
#include "iconpalette.h"
using std::endl;
using std::make_pair;
-using std::vector;
using std::max;
+using std::vector;
+
+
int const button_size = 40;
using std::exit;
#endif
-using std::vector;
using std::map;
-using std::endl;
+using std::vector;
+
extern BufferList bufferlist;
using namespace lyx::support;
-using std::map;
-
PanelStack::PanelStack(QWidget * parent, const char * name)
: QWidget(parent, name)
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()
#include <config.h>
-
-
#include "QWorkArea.h"
#include "qscreen.h"
#include "debug.h"
#include <qapplication.h>
using std::endl;
-using std::max;
-using std::min;
+
namespace {
#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)
{
#include "lyx_forms.h"
-using std::endl;
using std::make_pair;
using std::pair;
+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>.
using std::max;
using std::min;
using std::setw;
+
using std::istringstream;
using std::ostringstream;
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)
using namespace lyx::support;
-using std::sort;
using std::vector;
using namespace lyx::support;
-using std::find;
using std::vector;
using std::find;
using std::max;
-using std::min;
-using std::sort;
-using std::pair;
+
using std::vector;
using std::bind2nd;
using std::endl;
-using std::setw;
-using std::setfill;
+
using std::vector;
using std::max;
using std::sort;
+
using std::map;
using namespace lyx::support;
using std::find;
using std::find_if;
+
using std::vector;
"langle", "rangle", "|", "Vert", ".", 0
};
-using std::endl;
typedef FormController<ControlMath, FormView<FD_maths_delim> > base_class;
* Full author contact details are available in file CREDITS.
*/
-
#include <config.h>
#include "FormNote.h"
#include "lyx_forms.h"
-using std::vector;
-
typedef FormController<ControlNote, FormView<FD_note> > base_class;
using std::bind2nd;
using std::remove_if;
+
using std::vector;
using std::make_pair;
using std::max;
using std::min;
-using std::setfill;
-using std::setw;
+
using std::pair;
using std::vector;
using std::find;
using std::max;
using std::sort;
+
using std::vector;
#include "lyx_forms.h"
-using std::endl;
-
typedef FormCB<ControlSpellchecker, FormDB<FD_spellchecker> > base_class;
using namespace lyx::support;
#ifndef CXX_GLOBAL_CSTD
-using std::isupper;
using std::islower;
+using std::isupper;
#endif
using std::vector;
using namespace lyx::support;
-using std::endl;
using std::vector;
using namespace lyx::support;
using std::endl;
-using std::find_if;
void RadioButtonGroup::init(FL_OBJECT * ob, size_type value)
using std::endl;
using std::for_each;
-using std::max;
-using std::min;
using std::vector;
#include <boost/bind.hpp>
-
-#ifndef CXX_GLOBAL_CSTD
-using std::isprint;
-#endif
-
-using std::endl;
using std::vector;
using namespace lyx::support;
-using std::endl;
-using std::max;
-
XPainter::XPainter(XWorkArea & xwa)
: Painter(), owner_(xwa)
#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 {
using std::find_if;
+
namespace {
void init_graphics();
using namespace lyx::support;
using std::make_pair;
+
using std::ofstream;
-using std::pair;
using std::vector;
#include "debug.h"
using std::endl;
-using std::max;
-using std::min;
namespace {
#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()
#include <algorithm>
-using std::queue;
using std::vector;
+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:
#include "GraphicsParams.h"
#include "debug.h"
-using std::endl;
-using std::abs;
namespace lyx {
namespace graphics {
#include "support/std_sstream.h"
using std::abs;
-using std::istringstream;
namespace lyx {
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;
using std::pair;
using std::vector;
+
namespace {
typedef pair<string, string> StrPair;
#include "gettext.h"
#include "BufferView.h"
-
using namespace lyx::support;
-using std::vector;
using std::find;
+using std::vector;
extern BufferList bufferlist;
+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:
using std::endl;
using std::for_each;
+
using std::ostream;
using std::endl;
using std::getline;
+
using std::ifstream;
using std::ostream;
using std::pair;
using std::endl;
using std::max;
-using std::vector;
using std::ostream;
#include "paragraph_funcs.h"
#include "texrow.h"
-using std::endl;
using std::auto_ptr;
using std::ostream;
using lyx::pos_type;
-using std::min;
using std::endl;
+using std::min;
+
using std::auto_ptr;
using std::ostream;
using namespace lyx::support;
using std::endl;
+
using std::auto_ptr;
using std::istringstream;
using std::ostream;
using std::ostringstream;
-using std::pair;
-using std::vector;
extern BufferList bufferlist;
using namespace lyx::support;
using std::ostream;
-using std::pair;
-using std::vector;
InsetLabel::InsetLabel(InsetCommandParams const & p)
using std::auto_ptr;
using std::ostream;
-using std::pair;
-using std::vector;
InsetOptArg::InsetOptArg(BufferParams const & ins)
#include "frontends/font_metrics.h"
#include "frontends/Painter.h"
-using std::max;
using std::auto_ptr;
using std::ostream;
using std::endl;
using std::max;
using std::swap;
+
using std::auto_ptr;
-using std::ifstream;
using std::istringstream;
using std::ostream;
using std::ostringstream;
-using std::vector;
namespace {
using std::endl;
using std::for_each;
-using std::min;
using std::max;
-using std::make_pair;
+
using std::auto_ptr;
using std::ostream;
-using std::ifstream;
-using std::pair;
using std::vector;
using namespace lyx::support;
using namespace bv_funcs;
using lyx::pos_type;
-using lyx::textclass_type;
InsetText::InsetText(BufferParams const & bp)
#include "toc.h"
using std::ostream;
-using std::vector;
InsetTOC::InsetTOC(InsetCommandParams const & p)
using std::strcpy;
using std::strlen;
using std::strpbrk;
-using std::strstr;
#endif
using std::endl;
using std::max;
+
namespace {
class LaunchIspell : public lyx::support::ForkedProcess {
using namespace lyx::support;
-using std::ifstream;
-using std::ofstream;
-using std::getline;
+using std::copy;
using std::endl;
using std::find;
-using std::copy;
+using std::getline;
+
+using std::ifstream;
+using std::ofstream;
using std::ostream_iterator;
using namespace lyx::support;
-using std::vector;
-using std::ifstream;
+using std::back_inserter;
using std::copy;
using std::endl;
+using std::make_pair;
+
+using std::ifstream;
using std::ios;
-using std::back_inserter;
using std::istream_iterator;
-using std::pair;
-using std::make_pair;
extern BufferList bufferlist;
// this should be static, but I need it in buffer.C
istream_iterator<char> end;
#if !defined(USE_INCLUDED_STRING) && !defined(STD_STRING_IS_GOOD)
// We use this until the compilers get better...
- vector<char> tmp;
+ std::vector<char> tmp;
copy(ii, end, back_inserter(tmp));
string const tmpstr(tmp.begin(), tmp.end());
#else
using namespace lyx::support;
-using lyx::pos_type;
-using std::endl;
namespace lyx {
namespace find {
using namespace lyx::support;
-using std::pair;
-using std::make_pair;
using std::endl;
-using std::find_if;
+using std::make_pair;
+
using std::istringstream;
-using std::vector;
-using std::transform;
-using std::back_inserter;
+
using namespace bv_funcs;
extern BufferList bufferlist;
using namespace lyx::support;
+using std::endl;
+using std::getline;
+using std::lower_bound;
using std::sort;
-using std::ostream;
+
using std::ios;
using std::istream;
-using std::endl;
-using std::lower_bound;
-using std::vector;
-using std::getline;
+using std::ostream;
// namespace {
struct compare_tags {
using std::cout;
using std::ios;
using std::endl;
-using std::vector;
namespace lyx {
namespace graphics {
using lyx::pos_type;
-using std::max;
-using std::min;
Row::Row()
: pos_(0), end_(0), fill_(0), height_(0), width_(0), y_(0),
using std::endl;
using std::find_if;
using std::remove_if;
+
using std::ostream;
namespace { // anon
#endif
using lyx::textclass_type;
-using std::pair;
-using std::make_pair;
+
using std::endl;
using std::find_if;
+using std::make_pair;
using std::sort;
+using std::pair;
+
// Gets textclass number from name
pair<bool, textclass_type> const
+2003-09-08 Angus Leeming <leeming@lyx.org>
+
+ * formulabase.C:
+ * formulamacro.C:
+ * math_charinset.C:
+ * math_cursor.C:
+ * math_data.C:
+ * math_diminset.C:
+ * math_hullinset.C:
+ * math_support.C:
+ * math_tabularinset.C: remove redundant using directives.
+
2003-09-07 Angus Leeming <leeming@lyx.org>
* formulabase.h: remove #includes "dimension.h", <boost/weak_ptr.hpp>,
using namespace lyx::support;
-using std::endl;
-using std::istringstream;
-using std::ostream;
-using std::ostringstream;
-using std::vector;
using std::abs;
+using std::endl;
using std::max;
+using std::istringstream;
+
MathCursor * mathcursor = 0;
using namespace lyx::support;
-using std::istringstream;
-using std::ostream;
using std::auto_ptr;
+using std::ostream;
+
extern MathCursor * mathcursor;
#include <iterator>
-using std::vector;
-using std::istringstream;
using std::getline;
-using std::istream_iterator;
+
using std::auto_ptr;
+using std::istringstream;
+using std::istream_iterator;
+using std::vector;
MathArrayInset::MathArrayInset(string const & name, int m, int n)
#include "math_charinset.h"
#include "dimension.h"
-#include "support/std_ostream.h"
#include "math_support.h"
#include "math_mathmlstream.h"
#include "textpainter.h"
-
-
-using std::ostream;
-using std::endl;
using std::auto_ptr;
#ifndef CXX_GLOBAL_CSTD
using std::strchr;
-using std::isalpha;
#endif
+
extern bool has_math_fonts;
namespace {
using namespace lyx::support;
using std::endl;
+using std::isalpha;
using std::min;
-using std::max;
using std::swap;
-using std::vector;
+
using std::ostringstream;
-using std::isalpha;
// matheds own cut buffer
using namespace lyx::support;
-using std::max;
-using std::min;
using std::abs;
using std::endl;
+using std::min;
MathArray::MathArray()
#include "math_diminset.h"
-using std::ostringstream;
-
void MathDimInset::metricsT(TextMetricsInfo const &) const
{
using namespace lyx::support;
-using std::ostream;
+using std::endl;
+using std::find_if;
+
using std::istringstream;
+using std::ostream;
using std::ostringstream;
-using std::find_if;
-using std::endl;
ostream & operator<<(ostream & os, MathArray const & ar)
#include "frontends/Painter.h"
#include "support/std_sstream.h"
-
#include "insets/mailinset.h"
-using std::swap;
+using std::endl;
using std::max;
using std::min;
-using std::vector;
+using std::swap;
+
+using std::auto_ptr;
using std::istream;
using std::istringstream;
using std::ostringstream;
-using std::auto_ptr;
-using std::endl;
+using std::vector;
class GridInsetMailer : public MailInset {
#include "lyxrc.h"
#include "gettext.h"
-
using namespace lyx::support;
+using std::endl;
+using std::max;
+
+using std::auto_ptr;
using std::istringstream;
using std::ostringstream;
-using std::vector;
-using std::max;
-using std::endl;
using std::pair;
-using std::auto_ptr;
+
namespace {
#include "math_extern.h"
#include "support/lyxalgo.h"
+using std::strlen;
using std::ostream;
-using std::strlen;
+
namespace {
#include "support/std_sstream.h"
#include "debug.h"
+using std::atoi;
+using std::endl;
+using std::fill;
+using std::ios;
using std::istream;
using std::istringstream;
using std::ostream;
-using std::ios;
-using std::endl;
-using std::fill;
using std::vector;
-using std::atoi;
//#define FILEDEBUG
#include "support/std_ostream.h"
using std::atoi;
+
using std::auto_ptr;
#include <config.h>
#include "math_support.h"
-#include "math_parser.h"
+
#include "math_data.h"
+#include "math_mathmlstream.h"
+#include "math_parser.h"
+
+#include "debug.h"
+
#include "frontends/Painter.h"
#include "frontends/font_metrics.h"
#include "frontends/lyx_gui.h"
-#include "debug.h"
+
#include "support/std_sstream.h"
-#include "math_mathmlstream.h"
#include <map>
using std::max;
using std::endl;
-using std::ostringstream;
///
#include <iterator>
-using std::vector;
-using std::istringstream;
-using std::getline;
-using std::istream_iterator;
using std::auto_ptr;
using std::ostream;
using std::ostringstream;
using std::endl;
-using std::fstream;
-using std::ios;
-using std::lower_bound;
-using std::upper_bound;
using lyx::pos_type;
#include "support/LAssert.h"
using namespace lyx::support;
+
using lyx::pos_type;
+
using std::endl;
-using std::ostream;
using std::upper_bound;
-using std::lower_bound;
+
+using std::ostream;
+
// Initialize static member.
ShareContainer<LyXFont> Paragraph::Pimpl::FontTable::container;
using namespace lyx::support;
using std::max;
-using std::endl;
using lyx::pos_type;
extern int PAPER_MARGIN;
#include "paragraph.h"
#include "sgml.h"
-using std::pair;
+using std::endl;
using std::make_pair;
+
using std::ostream;
-using std::endl;
+using std::pair;
+
namespace sgml {
+2003-09-08 Angus Leeming <leeming@lyx.org>
+
+ * boost-inst.C:
+ * filetools.C:
+ * forkedcallqueue.C:
+ * lstrings.C:
+ * lyxsum.C: remove redundant using directives.
2003-09-05 Angus Leeming <leeming@lyx.org>
namespace boost
{
-using boost::io::out_of_range_bit;
-
template class basic_format<char>;
template
#ifndef CXX_GLOBAL_CSTD
using std::fgetc;
-using std::isalpha;
using std::isalnum;
+using std::isalpha;
#endif
-using std::make_pair;
-using std::pair;
using std::endl;
+using std::getline;
+using std::make_pair;
+
using std::ifstream;
using std::ostringstream;
using std::vector;
-using std::getline;
namespace lyx {
#include <boost/signals/signal2.hpp>
using std::endl;
-using std::queue;
+
namespace lyx {
namespace support {
#include <unistd.h>
#include <sys/wait.h>
-using std::vector;
using std::endl;
using std::find_if;
+using std::vector;
+
#ifndef CXX_GLOBAL_CSTD
using std::strerror;
#endif
+
namespace lyx {
namespace support {
#include <cctype>
#include <cstdlib>
-using std::count;
using std::transform;
+
using std::vector;
#ifndef CXX_GLOBAL_CSTD
using std::atof;
using std::isdigit;
-using std::strlen;
using std::tolower;
using std::toupper;
#endif
+
namespace lyx {
namespace support {
#include <fstream>
#include <iterator>
-using std::for_each;
namespace {
unsigned long do_crc(InputIterator first, InputIterator last)
{
boost::crc_32_type crc;
- crc = for_each(first, last, crc);
+ crc = std::for_each(first, last, crc);
return crc.checksum();
}
using namespace lyx::support;
using std::abs;
-using std::ostream;
-using std::ostringstream;
-using std::istream;
+using std::endl;
using std::getline;
using std::max;
-using std::endl;
+
+using std::istream;
+using std::ostream;
+using std::ostringstream;
using std::vector;
#ifndef CXX_GLOBAL_CSTD
+2003-09-08 Angus Leeming <leeming@lyx.org>
+
+ * math.C:
+ * preamble.C:
+ * table.C:
+ * tex2lyx.C:
+ * texparser.C: remove redundant using directives.
+
2003-08-19 Angus Leeming <leeming@lyx.org>
* most files: add 'standard conformant' header blurb.
#include "tex2lyx.h"
#include <iostream>
-#include <vector>
using std::cerr;
using std::endl;
+
using std::ostream;
using std::string;
-using std::vector;
bool is_math_env(string const & name)
#include <vector>
#include <map>
-using std::cerr;
-using std::endl;
-using std::getline;
-using std::istream;
using std::istringstream;
using std::ostream;
using std::ostringstream;
using std::ostringstream;
using std::string;
using std::vector;
-using std::map;
#include "mathed/math_gridinfo.h"
#include <sstream>
#include <vector>
+using std::endl;
using std::cout;
using std::cerr;
-using std::endl;
using std::getline;
-using std::istream;
+
using std::ifstream;
using std::istringstream;
-using std::ostream;
using std::ostringstream;
using std::stringstream;
using std::string;
using std::cerr;
using std::endl;
using std::fill;
-using std::ios;
using std::istream;
using std::istringstream;
using std::ostream;
using std::string;
-using std::vector;
namespace {
using std::cerr;
using std::endl;
+
using std::map;
using std::ostream;
using std::ostringstream;
#include <algorithm>
using std::find_if;
-using std::endl;
+
namespace {
using namespace lyx::support;
using std::max;
-using std::min;
using std::endl;
-using std::pair;
using lyx::pos_type;
using lyx::word_location;
using namespace lyx::support;
-using std::ostringstream;
-using std::vector;
-using std::copy;
using std::endl;
-using std::find;
-using std::pair;
+
+using std::ostringstream;
+
using lyx::pos_type;
using std::endl;
using std::find;
+
using std::istringstream;
using std::vector;
+
using lyx::pos_type;
+
extern string current_layout;
extern int bibitemMaxWidth(BufferView *, LyXFont const &);
using std::vector;
using std::max;
-using std::endl;
using std::ostream;
namespace lyx {
#endif
using std::endl;
-using std::ifstream;
using std::getline;
+
+using std::ifstream;
+
using boost::regex;
using boost::regex_match;