mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Warning fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22973 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
371ed5aff5
commit
7acb8e3998
@ -241,7 +241,7 @@ bool TextClass::read(FileName const & filename, ReadType rt)
|
|||||||
lex.setStream(ss);
|
lex.setStream(ss);
|
||||||
Layout lay;
|
Layout lay;
|
||||||
lay.setName(emptylayout_);
|
lay.setName(emptylayout_);
|
||||||
bool error = readStyle(lex, lay);
|
/*bool error =*/ readStyle(lex, lay);
|
||||||
BOOST_ASSERT(!error);
|
BOOST_ASSERT(!error);
|
||||||
layoutlist_.push_back(boost::shared_ptr<Layout>(new Layout(lay)));
|
layoutlist_.push_back(boost::shared_ptr<Layout>(new Layout(lay)));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user