mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
* src/TextClass.cpp:
- remove superfluous condition. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22429 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2c0eaab164
commit
926e115e6a
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user