]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFootlike.cpp
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetFootlike.cpp
index c0647b0824f99b6bafcbabc9ef4c1f0f9d137df1..f9adfab0c105e5db04d2a0117368cb64474dac73 100644 (file)
@@ -3,7 +3,7 @@
  * 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 <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 const & buf)
+       : InsetCollapsable(buf)
 {}
 
 
@@ -50,10 +47,10 @@ void InsetFootlike::draw(PainterInfo & pi, int x, int y) const
 }
 
 
-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);
 }