mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* src/BufferParams.cpp (readToken):
- initialize pair<bool, lyx::textclass_type> pp. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21939 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
44ab27cb98
commit
35cb68ba14
@ -58,6 +58,7 @@ using std::endl;
|
||||
using std::find;
|
||||
using std::string;
|
||||
using std::istringstream;
|
||||
using std::make_pair;
|
||||
using std::ostream;
|
||||
using std::ostringstream;
|
||||
using std::pair;
|
||||
@ -474,7 +475,8 @@ string const BufferParams::readToken(Lexer & lex, string const & token,
|
||||
string const classname = lex.getString();
|
||||
// if there exists a local layout file, ignore the system one
|
||||
// NOTE: in this case, the textclass (.cls file) is assumed to be available.
|
||||
pair<bool, lyx::textclass_type> pp;
|
||||
pair<bool, lyx::textclass_type> pp =
|
||||
make_pair(false, textclass_type(0));
|
||||
if (!filepath.empty())
|
||||
pp = textclasslist.addTextClass(
|
||||
classname, filepath.absFilename());
|
||||
|
Loading…
Reference in New Issue
Block a user