* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
*
* Full author contact details are available in file CREDITS.
*/
void FloatList::newFloat(Floating const & fl)
{
- list[fl.type()] = fl;
+ list[fl.floattype()] = fl;
}
#ifdef HAVE_EXCEPTIONS
throw UnknownFloatType(t);
#else
- static Floating empty_float;
+ static Floating const empty_float;
return empty_float;
#endif
}