mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 06:15:59 +00:00
Remove useless and confusing lines of code. As subfloat is not written into the LyX file, we have to (at the moment) rely on a call to updateLabels before setting the new label.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27717 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0488bee43f
commit
aaf27b169d
@ -256,9 +256,6 @@ void InsetFloat::write(ostream & os) const
|
|||||||
void InsetFloat::read(Lexer & lex)
|
void InsetFloat::read(Lexer & lex)
|
||||||
{
|
{
|
||||||
params_.read(lex);
|
params_.read(lex);
|
||||||
setWide(params_.wide, buffer().params());
|
|
||||||
setSideways(params_.sideways, buffer().params());
|
|
||||||
setSubfloat(params_.subfloat, buffer().params());
|
|
||||||
InsetCollapsable::read(lex);
|
InsetCollapsable::read(lex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user