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:
Vincent van Ravesteijn 2008-11-26 23:29:36 +00:00
parent 0488bee43f
commit aaf27b169d

View File

@ -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);
} }