diff --git a/src/TextClass.cpp b/src/TextClass.cpp index ae2dd9f220..51084095a5 100644 --- a/src/TextClass.cpp +++ b/src/TextClass.cpp @@ -35,7 +35,6 @@ #include - 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 req = getVectorFromString(packages); - if (requires_.empty()) { - requires_ = req; - break; - } for (vector::const_iterator it = req.begin(); it != req.end(); ++it) { if (find(requires_.begin(), requires_.end(), *it) == requires_.end())