* 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.
*/
#include "BufferParams.h"
#include "MetricsInfo.h"
+#include <iostream>
-namespace lyx {
-
+using namespace std;
-InsetFootlike::InsetFootlike(BufferParams const & bp)
- : InsetCollapsable(bp)
-{}
+namespace lyx {
-InsetFootlike::InsetFootlike(InsetFootlike const & in)
- : InsetCollapsable(in)
+InsetFootlike::InsetFootlike(Buffer * buf)
+ : InsetCollapsable(buf)
{}
}
-void InsetFootlike::write(Buffer const & buf, std::ostream & os) const
+void InsetFootlike::write(ostream & os) const
{
os << to_utf8(name()) << "\n";
- InsetCollapsable::write(buf, os);
+ InsetCollapsable::write(os);
}
bool InsetFootlike::insetAllowed(InsetCode code) const
{
- if (code == FOOT_CODE || code == MARGIN_CODE
- || code == FLOAT_CODE)
+ if (code == FOOT_CODE || code == MARGIN_CODE || code == FLOAT_CODE)
return false;
return InsetCollapsable::insetAllowed(code);
}