return value is the number of wrong conversions
*/
static
- int SwitchLayoutsBetweenClasses(LyXTextClassList::size_type class1,
- LyXTextClassList::size_type class2,
- Paragraph * par);
+ int SwitchLayoutsBetweenClasses(lyx::textclass_type class1,
+ lyx::textclass_type class2,
+ Paragraph * par,
+ BufferParams const & bparams);
///
static
bool checkPastePossible(Paragraph *);