]> git.lyx.org Git - features.git/commitdiff
* src/TextClass.cpp:
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 8 Jan 2008 09:14:44 +0000 (09:14 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 8 Jan 2008 09:14:44 +0000 (09:14 +0000)
- remove superfluous condition.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22429 a592a061-630c-0410-9148-cb99ea01b6c8

src/TextClass.cpp

index ae2dd9f220c10ac58478363c8633d5197d980909..51084095a53d53d6d8af9d1c458ade229d8f6045 100644 (file)
@@ -35,7 +35,6 @@
 
 #include <sstream>
 
-
 using namespace std;
 using namespace lyx::support;
 
@@ -398,10 +397,6 @@ bool TextClass::read(FileName const & filename, ReadType rt)
                        lexrc.eatLine();
                        string const packages = lexrc.getString();
                        vector<string> req = getVectorFromString(packages);
-                       if (requires_.empty()) {
-                               requires_ = req;
-                               break;
-                       }
                        for (vector<string>::const_iterator it = req.begin();
                             it != req.end(); ++it) {
                                if (find(requires_.begin(), requires_.end(), *it) == requires_.end())