Changes due to the removal of using directives from support/std_sstream.h.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7686 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-09-05 18:02:24 +00:00
parent 236ea81bc5
commit f239801ae3
65 changed files with 117 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2003-09-05 Angus Leeming <leeming@lyx.org>
Changes most place everywhere due to the removal of using directives
from support/std_sstream.h.
2003-09-05 Angus Leeming <leeming@lyx.org>
Replace LString.h with support/std_string.h,

View File

@ -35,6 +35,7 @@ using std::list;
using std::set;
using std::find;
using std::ostream;
using std::ostringstream;
LaTeXFeatures::LaTeXFeatures(BufferParams const & p)

View File

@ -31,7 +31,10 @@
using namespace lyx::support;
using std::istringstream;
using std::ostream;
using std::ostringstream;
// Initialize static member var.
ShareContainer<ParameterStruct> ParagraphParameters::container;

View File

@ -15,7 +15,10 @@
#include "Spacing.h"
using std::ios;
using std::istringstream;
using std::ostream;
using std::ostringstream;
string const Spacing::spacing_string[]
= {"single", "onehalf", "double", "other"};

View File

@ -71,6 +71,7 @@ using std::pow;
#endif
using std::ostream;
using std::ostringstream;
using std::ofstream;
using std::ifstream;
using std::fstream;

View File

@ -34,7 +34,9 @@
using namespace lyx::support;
using std::istringstream;
using std::ostream;
using std::ostringstream;
using std::endl;
using std::pair;

View File

@ -32,6 +32,9 @@
using namespace lyx::support;
using std::istringstream;
using std::ostringstream;
namespace {

View File

@ -21,6 +21,7 @@
using namespace lyx::support;
using std::endl;
using std::ostringstream;
using std::vector;

View File

@ -11,7 +11,6 @@
#include <config.h>
#include "ControlAboutlyx.h"
#include "gettext.h"
#include "version.h"
@ -25,6 +24,7 @@
using namespace lyx::support;
using std::ostream;
using std::ostringstream;
ControlAboutlyx::ControlAboutlyx(Dialog & parent)

View File

@ -21,6 +21,10 @@
using namespace lyx::support;
using std::istringstream;
using std::ostringstream;
ControlParagraph::ControlParagraph(Dialog & parent)
: Dialog::Controller(parent), ininset_(false)
{}

View File

@ -23,6 +23,7 @@
using namespace lyx::support;
using std::ostringstream;
using std::vector;

View File

@ -21,6 +21,9 @@
#include <gtkmm/button.h>
#include <gtkmm/textview.h>
using std::istringstream;
GAbout::GAbout()
: GnomeCB<ControlAboutlyx>("GAbout")
{}

View File

@ -51,6 +51,7 @@
using std::exit;
#endif
using std::ostringstream;
using std::vector;
using std::hex;
using std::dec;

View File

@ -19,6 +19,9 @@
#include "support/filetools.h"
#include "version.h"
using std::ostringstream;
namespace {
enum TranslateState {NORMAL, BEGIN, IN_AT, IN_BOLD, IN_ITALIC};

View File

@ -51,6 +51,9 @@
#include "xformsImage.h"
#include "xforms_helpers.h"
using std::ostringstream;
extern BufferList bufferlist;
// FIXME: wrong place !

View File

@ -10,7 +10,6 @@
#include <config.h>
#include "support/lstrings.h"
#include "support/std_sstream.h"
#include "qt_helpers.h"
@ -28,10 +27,12 @@
using namespace lyx::support;
using std::getline;
using std::istringstream;
using std::ostringstream;
typedef QController<ControlAboutlyx, QView<QAboutDialog> > base_class;
QAbout::QAbout(Dialog & parent)
: base_class(parent, _("About LyX"))
{

View File

@ -26,6 +26,7 @@
using std::ifstream;
using std::getline;
using std::ostringstream;
typedef QController<ControlLog, QView<QLogDialog> > base_class;

View File

@ -24,6 +24,8 @@
#include <qspinbox.h>
#include "emptytable.h"
using std::ostringstream;
static char h_align_str[80] = "c";
static char v_align_c[] = "tcb";

View File

@ -10,7 +10,6 @@
#include <config.h>
#include "support/std_sstream.h"
#include "qt_helpers.h"
#include "support/lstrings.h"
@ -26,9 +25,11 @@
using namespace lyx::support;
typedef QController<ControlVCLog, QView<QVCLogDialog> > base_class;
using std::ostringstream;
typedef QController<ControlVCLog, QView<QVCLogDialog> > base_class;
QVCLog::QVCLog(Dialog & parent)
: base_class(parent, _("LyX: Version Control Log"))
{

View File

@ -28,6 +28,8 @@ using std::floor;
using std::max;
using std::min;
using std::setw;
using std::istringstream;
using std::ostringstream;
namespace {

View File

@ -23,6 +23,9 @@
#include "lyx_forms.h"
using std::ostringstream;
namespace {
#if FL_VERSION == 0 || (FL_REVISION == 0 && FL_FIXLEVEL < 2)

View File

@ -24,6 +24,8 @@
#include "support/std_sstream.h"
using std::ostringstream;
#include "delim.xbm"
#include "delim0.xpm"
#include "delim1.xpm"

View File

@ -30,6 +30,8 @@
using namespace lyx::support;
using std::ostringstream;
#ifndef CXX_GLOBAL_CSTD
using std::strlen;
#endif

View File

@ -30,7 +30,7 @@ void FormVCLog::update()
{
fl_clear_browser(dialog_->browser);
ostringstream ss;
std::ostringstream ss;
controller().getVCLogFile(ss);
fl_add_browser_line(dialog_->browser, ss.str().c_str());

View File

@ -54,6 +54,7 @@ using std::hex;
using std::setbase;
using std::setfill;
using std::setw;
using std::ostringstream;
using std::vector;

View File

@ -18,6 +18,7 @@
#include "support/std_sstream.h"
using std::istringstream;
using std::vector;
using std::getline;
using std::endl;

View File

@ -43,6 +43,7 @@ using support::unlink;
using std::endl;
using std::ostream;
using std::ostringstream;
namespace lyx {

View File

@ -17,6 +17,7 @@
#include "support/std_sstream.h"
using std::abs;
using std::istringstream;
namespace lyx {

View File

@ -51,6 +51,7 @@ using std::map;
using std::ifstream;
using std::ofstream;
using std::ostream;
using std::ostringstream;
using std::pair;
using std::vector;

View File

@ -21,7 +21,9 @@
#include "support/std_sstream.h"
using std::auto_ptr;
using std::istringstream;
using std::ostream;
using std::ostringstream;
void InsetBranch::init()

View File

@ -33,6 +33,7 @@ using namespace lyx::support;
using std::endl;
using std::ostream;
using std::ostringstream;
InsetCaption::InsetCaption(BufferParams const & bp)

View File

@ -20,7 +20,9 @@
#include "support/std_sstream.h"
using std::istringstream;
using std::ostream;
using std::ostringstream;
InsetCommand::InsetCommand(InsetCommandParams const & p)

View File

@ -43,7 +43,9 @@ namespace support = lyx::support;
using std::endl;
using std::auto_ptr;
using std::istringstream;
using std::ostream;
using std::ostringstream;
namespace lyx {

View File

@ -33,7 +33,9 @@ using namespace lyx::support;
using std::endl;
using std::auto_ptr;
using std::istringstream;
using std::ostream;
using std::ostringstream;
// With this inset it will be possible to support the latex package

View File

@ -85,7 +85,9 @@ using namespace lyx::support;
using std::endl;
using std::auto_ptr;
using std::istringstream;
using std::ostream;
using std::ostringstream;
namespace {

View File

@ -43,7 +43,9 @@ 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;

View File

@ -24,7 +24,9 @@
using std::endl;
using std::auto_ptr;
using std::istringstream;
using std::ostream;
using std::ostringstream;
// Some information about Minipages in LaTeX:

View File

@ -24,7 +24,9 @@
#include "support/std_sstream.h"
using std::auto_ptr;
using std::istringstream;
using std::ostream;
using std::ostringstream;
void InsetNote::init()

View File

@ -44,7 +44,9 @@ 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;

View File

@ -28,7 +28,9 @@
using std::endl;
using std::auto_ptr;
using std::istringstream;
using std::ostream;
using std::ostringstream;
namespace {

View File

@ -27,6 +27,7 @@
using namespace lyx::support;
using std::ostream;
using std::ostringstream;
using std::endl;
#ifndef CXX_GLOBAL_CSTD

View File

@ -74,6 +74,7 @@ using std::pair;
using std::make_pair;
using std::endl;
using std::find_if;
using std::istringstream;
using std::vector;
using std::transform;
using std::back_inserter;

View File

@ -17,6 +17,8 @@
#include "support/std_sstream.h"
using std::ostringstream;
LyXGlueLength::LyXGlueLength(LyXLength const & len)
: len_(len)

View File

@ -22,8 +22,9 @@
#include "support/std_sstream.h"
using std::abs;
using std::ostringstream;
LyXLength::LyXLength()
: val_(0), unit_(LyXLength::UNIT_NONE)

View File

@ -16,6 +16,7 @@
#include "support/std_sstream.h"
using std::auto_ptr;
using std::ostringstream;
CommandInset::CommandInset(string const & name)

View File

@ -30,6 +30,7 @@
using std::ostream;
using std::ostringstream;
using std::vector;
using std::auto_ptr;
using std::endl;

View File

@ -40,7 +40,9 @@
using namespace lyx::support;
using std::endl;
using std::istringstream;
using std::ostream;
using std::ostringstream;
using std::vector;
using std::abs;
using std::max;

View File

@ -26,6 +26,7 @@
using namespace lyx::support;
using std::istringstream;
using std::ostream;
using std::auto_ptr;

View File

@ -24,6 +24,7 @@ using namespace lyx::support;
using std::ifstream;
using std::istream;
using std::istringstream;
using std::ostream;
using std::endl;
using std::vector;

View File

@ -12,6 +12,8 @@
#include "math_diminset.h"
using std::ostringstream;
void MathDimInset::metricsT(TextMetricsInfo const &) const
{

View File

@ -41,6 +41,7 @@ using namespace lyx::support;
using std::ostream;
using std::istringstream;
using std::ostringstream;
using std::find_if;
using std::endl;

View File

@ -61,6 +61,7 @@
using namespace lyx::support;
using std::endl;
using std::istringstream;
bool has_math_fonts;

View File

@ -26,6 +26,8 @@ using std::max;
using std::min;
using std::vector;
using std::istream;
using std::istringstream;
using std::ostringstream;
using std::auto_ptr;
using std::endl;

View File

@ -31,6 +31,8 @@
using namespace lyx::support;
using std::istringstream;
using std::ostringstream;
using std::vector;
using std::max;
using std::endl;

View File

@ -66,6 +66,7 @@ following hack as starting point to write some macros:
using std::istream;
using std::istringstream;
using std::ostream;
using std::ios;
using std::endl;

View File

@ -25,6 +25,7 @@
using std::max;
using std::endl;
using std::ostringstream;
///

View File

@ -40,6 +40,7 @@
using namespace lyx::support;
using std::ostream;
using std::ostringstream;
using std::endl;
using std::fstream;
using std::ios;

View File

@ -41,6 +41,7 @@ using namespace lyx::support;
using lyx::pos_type;
//using lyx::layout_type;
using std::endl;
using std::istringstream;
using std::ostream;

View File

@ -1,3 +1,10 @@
2003-09-05 Angus Leeming <leeming@lyx.org>
* std_istream.h: new file Just renaming of LIstream.h
* std_ostream.h: new file Just renaming of LIstream.h
* std_sstream.h: new file Just renaming of Lsstream.h
* std_string.h: new file Just renaming of LString.h
2003-09-05 Angus Leeming <leeming@lyx.org>
* lyxmanip.h:

View File

@ -77,6 +77,7 @@ using std::make_pair;
using std::pair;
using std::endl;
using std::ifstream;
using std::ostringstream;
using std::vector;
using std::getline;

View File

@ -23,8 +23,4 @@
#include "support/sstream.h"
#endif
using std::istringstream;
using std::ostringstream;
using std::stringstream;
#endif // NOT STD_SSTREAM_H

View File

@ -13,6 +13,8 @@
#include "support/std_sstream.h"
#include "support/std_string.h"
using std::ostringstream;
string const tostr(bool b)
{

View File

@ -36,6 +36,7 @@ using namespace lyx::support;
using std::abs;
using std::ostream;
using std::ostringstream;
using std::istream;
using std::getline;
using std::max;

View File

@ -55,6 +55,7 @@
using namespace lyx::support;
using std::ostringstream;
using std::vector;
using std::copy;
using std::endl;

View File

@ -45,6 +45,7 @@ using namespace bv_funcs;
using std::endl;
using std::find;
using std::istringstream;
using std::vector;
using lyx::pos_type;