mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
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:
parent
236ea81bc5
commit
f239801ae3
@ -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,
|
||||
|
@ -35,6 +35,7 @@ using std::list;
|
||||
using std::set;
|
||||
using std::find;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
LaTeXFeatures::LaTeXFeatures(BufferParams const & p)
|
||||
|
@ -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;
|
||||
|
@ -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"};
|
||||
|
@ -71,6 +71,7 @@ using std::pow;
|
||||
#endif
|
||||
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
using std::ofstream;
|
||||
using std::ifstream;
|
||||
using std::fstream;
|
||||
|
@ -34,7 +34,9 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
using std::endl;
|
||||
using std::pair;
|
||||
|
||||
|
@ -32,6 +32,9 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::ostringstream;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -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)
|
||||
|
@ -21,6 +21,10 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
ControlParagraph::ControlParagraph(Dialog & parent)
|
||||
: Dialog::Controller(parent), ininset_(false)
|
||||
{}
|
||||
|
@ -23,6 +23,7 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::ostringstream;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -21,6 +21,9 @@
|
||||
#include <gtkmm/button.h>
|
||||
#include <gtkmm/textview.h>
|
||||
|
||||
using std::istringstream;
|
||||
|
||||
|
||||
GAbout::GAbout()
|
||||
: GnomeCB<ControlAboutlyx>("GAbout")
|
||||
{}
|
||||
|
@ -51,6 +51,7 @@
|
||||
using std::exit;
|
||||
#endif
|
||||
|
||||
using std::ostringstream;
|
||||
using std::vector;
|
||||
using std::hex;
|
||||
using std::dec;
|
||||
|
@ -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};
|
||||
|
@ -51,6 +51,9 @@
|
||||
#include "xformsImage.h"
|
||||
#include "xforms_helpers.h"
|
||||
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
extern BufferList bufferlist;
|
||||
|
||||
// FIXME: wrong place !
|
||||
|
@ -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"))
|
||||
{
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
using std::ifstream;
|
||||
using std::getline;
|
||||
using std::ostringstream;
|
||||
|
||||
typedef QController<ControlLog, QView<QLogDialog> > base_class;
|
||||
|
||||
|
@ -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";
|
||||
|
@ -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"))
|
||||
{
|
||||
|
@ -28,6 +28,8 @@ using std::floor;
|
||||
using std::max;
|
||||
using std::min;
|
||||
using std::setw;
|
||||
using std::istringstream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
namespace {
|
||||
|
@ -23,6 +23,9 @@
|
||||
|
||||
#include "lyx_forms.h"
|
||||
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
namespace {
|
||||
|
||||
#if FL_VERSION == 0 || (FL_REVISION == 0 && FL_FIXLEVEL < 2)
|
||||
|
@ -24,6 +24,8 @@
|
||||
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
using std::ostringstream;
|
||||
|
||||
#include "delim.xbm"
|
||||
#include "delim0.xpm"
|
||||
#include "delim1.xpm"
|
||||
|
@ -30,6 +30,8 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::ostringstream;
|
||||
|
||||
#ifndef CXX_GLOBAL_CSTD
|
||||
using std::strlen;
|
||||
#endif
|
||||
|
@ -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());
|
||||
|
@ -54,6 +54,7 @@ using std::hex;
|
||||
using std::setbase;
|
||||
using std::setfill;
|
||||
using std::setw;
|
||||
using std::ostringstream;
|
||||
using std::vector;
|
||||
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
|
||||
using std::istringstream;
|
||||
using std::vector;
|
||||
using std::getline;
|
||||
using std::endl;
|
||||
|
@ -43,6 +43,7 @@ using support::unlink;
|
||||
|
||||
using std::endl;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
namespace lyx {
|
||||
|
@ -17,6 +17,7 @@
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
using std::abs;
|
||||
using std::istringstream;
|
||||
|
||||
|
||||
namespace lyx {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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()
|
||||
|
@ -33,6 +33,7 @@ using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
InsetCaption::InsetCaption(BufferParams const & bp)
|
||||
|
@ -20,7 +20,9 @@
|
||||
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
InsetCommand::InsetCommand(InsetCommandParams const & p)
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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()
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
@ -28,7 +28,9 @@
|
||||
|
||||
using std::endl;
|
||||
using std::auto_ptr;
|
||||
using std::istringstream;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
namespace {
|
||||
|
@ -27,6 +27,7 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
using std::endl;
|
||||
|
||||
#ifndef CXX_GLOBAL_CSTD
|
||||
|
@ -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;
|
||||
|
@ -17,6 +17,8 @@
|
||||
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
LyXGlueLength::LyXGlueLength(LyXLength const & len)
|
||||
: len_(len)
|
||||
|
@ -22,8 +22,9 @@
|
||||
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
|
||||
using std::abs;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
LyXLength::LyXLength()
|
||||
: val_(0), unit_(LyXLength::UNIT_NONE)
|
||||
|
@ -16,6 +16,7 @@
|
||||
#include "support/std_sstream.h"
|
||||
|
||||
using std::auto_ptr;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
CommandInset::CommandInset(string const & name)
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
using std::vector;
|
||||
using std::auto_ptr;
|
||||
using std::endl;
|
||||
|
@ -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;
|
||||
|
@ -26,6 +26,7 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostream;
|
||||
using std::auto_ptr;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -12,6 +12,8 @@
|
||||
|
||||
#include "math_diminset.h"
|
||||
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
void MathDimInset::metricsT(TextMetricsInfo const &) const
|
||||
{
|
||||
|
@ -41,6 +41,7 @@ using namespace lyx::support;
|
||||
|
||||
using std::ostream;
|
||||
using std::istringstream;
|
||||
using std::ostringstream;
|
||||
using std::find_if;
|
||||
using std::endl;
|
||||
|
||||
|
@ -61,6 +61,7 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::endl;
|
||||
using std::istringstream;
|
||||
|
||||
bool has_math_fonts;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -31,6 +31,8 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostringstream;
|
||||
using std::vector;
|
||||
using std::max;
|
||||
using std::endl;
|
||||
|
@ -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;
|
||||
|
@ -25,6 +25,7 @@
|
||||
|
||||
using std::max;
|
||||
using std::endl;
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
///
|
||||
|
@ -40,6 +40,7 @@
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
using std::endl;
|
||||
using std::fstream;
|
||||
using std::ios;
|
||||
|
@ -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;
|
||||
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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;
|
||||
|
||||
|
@ -23,8 +23,4 @@
|
||||
#include "support/sstream.h"
|
||||
#endif
|
||||
|
||||
using std::istringstream;
|
||||
using std::ostringstream;
|
||||
using std::stringstream;
|
||||
|
||||
#endif // NOT STD_SSTREAM_H
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include "support/std_sstream.h"
|
||||
#include "support/std_string.h"
|
||||
|
||||
using std::ostringstream;
|
||||
|
||||
|
||||
string const tostr(bool b)
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -55,6 +55,7 @@
|
||||
|
||||
using namespace lyx::support;
|
||||
|
||||
using std::ostringstream;
|
||||
using std::vector;
|
||||
using std::copy;
|
||||
using std::endl;
|
||||
|
@ -45,6 +45,7 @@ using namespace bv_funcs;
|
||||
|
||||
using std::endl;
|
||||
using std::find;
|
||||
using std::istringstream;
|
||||
using std::vector;
|
||||
using lyx::pos_type;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user