]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfootlike.C
some reindentation, revert workarea xpos++, constify, remove all traces of LyXParagra...
[lyx.git] / src / insets / insetfootlike.C
index e6e448052d670a31668fc4c7e2b7109a991f6210..5517ccc77d10c7b6dafd88bb849cd0de2519b373 100644 (file)
@@ -3,7 +3,7 @@
  * 
  *           LyX, The Document Processor
  *      
- *          Copyright 1998 The LyX Team.
+ *          Copyright 2000 The LyX Team.
  *
  * ======================================================
  */
 
 #include "insetfootlike.h"
 #include "lyxfont.h"
-#include "BufferView.h"
+#include "buffer.h"
 #include "lyxtext.h"
 #include "support/LOstream.h"
 
-using std::ostream;
-using std::endl;
 
 InsetFootlike::InsetFootlike()
        : InsetCollapsable()
@@ -35,19 +33,8 @@ InsetFootlike::InsetFootlike()
 }
 
 
-void InsetFootlike::Write(Buffer const * buf, ostream & os) const 
+void InsetFootlike::Write(Buffer const * buf, std::ostream & os) const 
 {
        os << getInsetName() << "\n";
        InsetCollapsable::Write(buf, os);
 }
-
-
-#if 0
-LyXFont InsetFootlike::GetDrawFont(BufferView * bv,
-                                  LyXParagraph * p, int pos) const
-{
-       LyXFont fn = getLyXText(bv)->GetFont(bv->buffer(), p, pos);
-       fn.decSize().decSize();
-       return fn;
-}
-#endif