X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetHyperlink.cpp;h=908ddd1337c099e35bfc2b97cb58a427ebf0e4e5;hb=c3a8b3a566e9e90f9ade72acbc723232d721d0b1;hp=5c5e885a04a2be22f54a754b7f150752811dd41a;hpb=9d0ea8aeff32833a90b3fe64df0c5518a9e241be;p=lyx.git diff --git a/src/insets/InsetHyperlink.cpp b/src/insets/InsetHyperlink.cpp index 5c5e885a04..908ddd1337 100644 --- a/src/insets/InsetHyperlink.cpp +++ b/src/insets/InsetHyperlink.cpp @@ -22,14 +22,11 @@ #include "support/lstrings.h" #include "support/docstream.h" -using std::string; -using std::find; -using std::replace; +using namespace std; +using namespace lyx::support; namespace lyx { -using support::subst; - InsetHyperlink::InsetHyperlink(InsetCommandParams const & p) : InsetCommand(p, "href") @@ -160,10 +157,9 @@ int InsetHyperlink::docbook(Buffer const &, odocstream & os, } -int InsetHyperlink::textString(Buffer const & buf, odocstream & os, - OutputParams const & op) const +void InsetHyperlink::textString(Buffer const & buf, odocstream & os) const { - return plaintext(buf, os, op); + plaintext(buf, os, OutputParams(0)); }