]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Parser.cpp
* Doxy: polish html output.
[lyx.git] / src / tex2lyx / Parser.cpp
index cdd5c3992160ac3a3d39d03b70a1f0b2bed9a074..323667f1157cf4c9072900161d7d7262707d7d20 100644 (file)
 #include <iostream>
 #include <sstream>
 
+using namespace std;
 
 namespace lyx {
 
-using std::cerr;
-using std::endl;
-using std::fill;
-using std::istream;
-using std::istringstream;
-using std::ostringstream;
-using std::ostream;
-using std::string;
-
-
 namespace {
 
 CatCode theCatcode[256];
@@ -282,14 +273,14 @@ Parser::Arg Parser::getFullArg(char left, char right)
        // This is needed if a partial file ends with a command without arguments,
        // e. g. \medskip
        if (! good())
-               return std::make_pair(false, string());
+               return make_pair(false, string());
 
        string result;
        char c = getChar();
 
        if (c != left) {
                putback();
-               return std::make_pair(false, string());
+               return make_pair(false, string());
        } else
                while ((c = getChar()) != right && good()) {
                        // Ignore comments
@@ -301,7 +292,7 @@ Parser::Arg Parser::getFullArg(char left, char right)
                                result += curr_token().asInput();
                }
 
-       return std::make_pair(true, result);
+       return make_pair(true, result);
 }