* src/insets/InsetCitation.{cpp,h}:

* src/insets/InsetRef.{cpp,h}:
* src/insets/InsetSpace.{cpp,h}:
* src/insets/InsetSpecialChar.{cpp,h}:
* src/insets/InsetUrl.{cpp,h}:
	- fix textString member (bug 4472).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@22478 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-01-10 16:07:00 +00:00
parent 0673f083d7
commit bff34b81aa
10 changed files with 15 additions and 25 deletions

View File

@ -407,10 +407,9 @@ int InsetCitation::docbook(Buffer const &, odocstream & os,
}
int InsetCitation::textString(Buffer const & buf, odocstream & os,
OutputParams const & op) const
void InsetCitation::textString(Buffer const & buf, odocstream & os) const
{
return plaintext(buf, os, op);
plaintext(buf, os, OutputParams(0));
}

View File

@ -44,8 +44,7 @@ public:
int docbook(Buffer const &, odocstream &,
OutputParams const &) const;
/// the string that is passed to the TOC
virtual int textString(Buffer const &, odocstream &,
OutputParams const &) const;
void textString(Buffer const &, odocstream &) const;
///
void validate(LaTeXFeatures &) const;
///

View File

@ -125,10 +125,9 @@ int InsetRef::docbook(Buffer const & buf, odocstream & os,
}
int InsetRef::textString(Buffer const & buf, odocstream & os,
OutputParams const & op) const
void InsetRef::textString(Buffer const & buf, odocstream & os) const
{
return plaintext(buf, os, op);
plaintext(buf, os, OutputParams(0));
}

View File

@ -53,8 +53,7 @@ public:
///
int docbook(Buffer const &, odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC
virtual int textString(Buffer const &, odocstream &,
OutputParams const &) const;
void textString(Buffer const &, odocstream &) const;
///
void validate(LaTeXFeatures & features) const;
protected:

View File

@ -228,10 +228,9 @@ int InsetSpace::docbook(Buffer const &, odocstream & os,
}
int InsetSpace::textString(Buffer const & buf, odocstream & os,
OutputParams const & op) const
void InsetSpace::textString(Buffer const & buf, odocstream & os) const
{
return plaintext(buf, os, op);
plaintext(buf, os, OutputParams(0));
}

View File

@ -73,8 +73,7 @@ public:
int docbook(Buffer const &, odocstream &,
OutputParams const &) const;
/// the string that is passed to the TOC
virtual int textString(Buffer const &, odocstream &,
OutputParams const &) const;
void textString(Buffer const &, odocstream &) const;
///
Inset::Code lyxCode() const { return Inset::SPACE_CODE; }
/// We don't need \begin_inset and \end_inset

View File

@ -233,10 +233,9 @@ int InsetSpecialChar::docbook(Buffer const &, odocstream & os,
}
int InsetSpecialChar::textString(Buffer const & buf, odocstream & os,
OutputParams const & op) const
void InsetSpecialChar::textString(Buffer const & buf, odocstream & os) const
{
return plaintext(buf, os, op);
plaintext(buf, os, OutputParams(0));
}

View File

@ -65,8 +65,7 @@ public:
int docbook(Buffer const &, odocstream &,
OutputParams const &) const;
/// the string that is passed to the TOC
virtual int textString(Buffer const &, odocstream &,
OutputParams const &) const;
void textString(Buffer const &, odocstream &) const;
///
Inset::Code lyxCode() const { return Inset::SPECIALCHAR_CODE; }
/// We don't need \begin_inset and \end_inset

View File

@ -99,10 +99,9 @@ int InsetUrl::docbook(Buffer const &, odocstream & os,
}
int InsetUrl::textString(Buffer const & buf, odocstream & os,
OutputParams const & op) const
void InsetUrl::textString(Buffer const & buf, odocstream & os) const
{
return plaintext(buf, os, op);
plaintext(buf, os, OutputParams(0));
}

View File

@ -47,8 +47,7 @@ public:
int docbook(Buffer const &, odocstream &,
OutputParams const &) const;
/// the string that is passed to the TOC
virtual int textString(Buffer const &, odocstream &,
OutputParams const &) const;
void textString(Buffer const &, odocstream &) const;
private:
virtual std::auto_ptr<Inset> doClone() const {
return std::auto_ptr<Inset>(new InsetUrl(params()));