X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FAuthor.cpp;h=4f2f13f7f93251a9bb6a224566f241aa1d6abd0d;hb=51ac7d895cc7a9c4ad91131d0b4734395366d04b;hp=44acfbc60582c449765109057d557fa49db262a2;hpb=688c186614a50a82b97733cb401e046ea8207352;p=lyx.git diff --git a/src/Author.cpp b/src/Author.cpp index 44acfbc605..4f2f13f7f9 100644 --- a/src/Author.cpp +++ b/src/Author.cpp @@ -18,13 +18,11 @@ #include -using std::string; +using namespace std; +using namespace lyx::support; namespace lyx { -using support::token; -using support::trim; - bool operator==(Author const & l, Author const & r) { @@ -32,14 +30,14 @@ bool operator==(Author const & l, Author const & r) } -std::ostream & operator<<(std::ostream & os, Author const & a) +ostream & operator<<(ostream & os, Author const & a) { // FIXME UNICODE os << "\"" << to_utf8(a.name()) << "\" " << to_utf8(a.email()); return os; } -std::istream & operator>>(std::istream & is, Author & a) +istream & operator>>(istream & is, Author & a) { string s; getline(is, s);