diff --git a/src/insets/InsetCitation.cpp b/src/insets/InsetCitation.cpp index f0812e5b8f..23d90c7c70 100644 --- a/src/insets/InsetCitation.cpp +++ b/src/insets/InsetCitation.cpp @@ -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)); } diff --git a/src/insets/InsetCitation.h b/src/insets/InsetCitation.h index e705fcb6bd..c7f6a9660b 100644 --- a/src/insets/InsetCitation.h +++ b/src/insets/InsetCitation.h @@ -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; /// diff --git a/src/insets/InsetRef.cpp b/src/insets/InsetRef.cpp index a1c9f55e41..a77e0ad6f6 100644 --- a/src/insets/InsetRef.cpp +++ b/src/insets/InsetRef.cpp @@ -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)); } diff --git a/src/insets/InsetRef.h b/src/insets/InsetRef.h index 5b91ceaa12..cf27df8eb9 100644 --- a/src/insets/InsetRef.h +++ b/src/insets/InsetRef.h @@ -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: diff --git a/src/insets/InsetSpace.cpp b/src/insets/InsetSpace.cpp index c696dece73..8008c82a28 100644 --- a/src/insets/InsetSpace.cpp +++ b/src/insets/InsetSpace.cpp @@ -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)); } diff --git a/src/insets/InsetSpace.h b/src/insets/InsetSpace.h index e285117b11..95cce5ef19 100644 --- a/src/insets/InsetSpace.h +++ b/src/insets/InsetSpace.h @@ -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 diff --git a/src/insets/InsetSpecialChar.cpp b/src/insets/InsetSpecialChar.cpp index 178034136d..c87d654199 100644 --- a/src/insets/InsetSpecialChar.cpp +++ b/src/insets/InsetSpecialChar.cpp @@ -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)); } diff --git a/src/insets/InsetSpecialChar.h b/src/insets/InsetSpecialChar.h index d54e993d10..4d49fb15a6 100644 --- a/src/insets/InsetSpecialChar.h +++ b/src/insets/InsetSpecialChar.h @@ -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 diff --git a/src/insets/InsetUrl.cpp b/src/insets/InsetUrl.cpp index 93a17e4388..91cb31aec2 100644 --- a/src/insets/InsetUrl.cpp +++ b/src/insets/InsetUrl.cpp @@ -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)); } diff --git a/src/insets/InsetUrl.h b/src/insets/InsetUrl.h index af99115441..cca7024ee7 100644 --- a/src/insets/InsetUrl.h +++ b/src/insets/InsetUrl.h @@ -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 doClone() const { return std::auto_ptr(new InsetUrl(params()));