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

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

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22480 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-01-10 16:09:01 +00:00
parent a84fa1ce00
commit 63c45ec226
10 changed files with 15 additions and 25 deletions

View File

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

View File

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

View File

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

View File

@ -47,8 +47,7 @@ public:
int docbook(Buffer const &, odocstream &, int docbook(Buffer const &, odocstream &,
OutputParams const &) const; OutputParams const &) const;
/// the string that is passed to the TOC /// the string that is passed to the TOC
virtual int textString(Buffer const &, odocstream &, void textString(Buffer const &, odocstream &) const;
OutputParams const &) const;
/// ///
static CommandInfo const * findInfo(std::string const &); static CommandInfo const * findInfo(std::string const &);
/// ///

View File

@ -145,10 +145,9 @@ int InsetRef::docbook(Buffer const & buf, odocstream & os,
} }
int InsetRef::textString(Buffer const & buf, odocstream & os, void InsetRef::textString(Buffer const & buf, odocstream & os) const
OutputParams const & op) 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; int docbook(Buffer const &, odocstream &, OutputParams const &) const;
/// the string that is passed to the TOC /// the string that is passed to the TOC
virtual int textString(Buffer const &, odocstream &, void textString(Buffer const &, odocstream &) const;
OutputParams const &) const;
/// ///
void validate(LaTeXFeatures & features) const; void validate(LaTeXFeatures & features) const;
/// ///

View File

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

View File

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

View File

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

View File

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