mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 09:15:50 +00:00
* 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:
parent
0673f083d7
commit
bff34b81aa
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
///
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user