]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/preamble.cpp
pimpl not needed here
[lyx.git] / src / tex2lyx / preamble.cpp
index 299b48f819f05525149d5bce05381d9b7d639be0..b39c8c123f4416c877152aca081bab134449e713 100644 (file)
@@ -14,9 +14,9 @@
 
 #include "tex2lyx.h"
 
-#include "layout.h"
-#include "TextClass.h"
+#include "Layout.h"
 #include "Lexer.h"
+#include "TextClass.h"
 #include "support/filetools.h"
 #include "support/lstrings.h"
 
@@ -37,6 +37,7 @@ using std::string;
 using std::vector;
 using std::cerr;
 using std::endl;
+using std::find;
 
 using support::FileName;
 using support::libFileSearch;
@@ -99,7 +100,7 @@ void handle_opt(vector<string> & opts, char const * const * what, string & targe
        if (opts.empty())
                return;
 
-       for ( ; *what; ++what) {
+       for (; *what; ++what) {
                vector<string>::iterator it = find(opts.begin(), opts.end(), *what);
                if (it != opts.end()) {
                        //cerr << "### found option '" << *what << "'\n";