]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfootlike.C
Clean up InsetGraphics::Cache and rename as GraphicsInset.
[lyx.git] / src / insets / insetfootlike.C
index 2cac4e252215c2523136992f0eefd0294c30ccd8..ecf1dc1bd4ee9cdbb7160b39ce037197480b40e5 100644 (file)
@@ -1,19 +1,15 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file insetfootlike.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Lars Gullik Bjønnes
  *
- *          Copyright 2000-2001 The LyX Team.
- *
- * ======================================================
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
 #include "insetfootlike.h"
 #include "lyxfont.h"
 #include "buffer.h"
@@ -35,8 +31,8 @@ InsetFootlike::InsetFootlike(BufferParams const & bp)
 }
 
 
-InsetFootlike::InsetFootlike(InsetFootlike const & in, bool same_id)
-       : InsetCollapsable(in, same_id)
+InsetFootlike::InsetFootlike(InsetFootlike const & in)
+       : InsetCollapsable(in)
 {
        LyXFont font(LyXFont::ALL_SANE);
        font.decSize();
@@ -56,7 +52,7 @@ void InsetFootlike::write(Buffer const * buf, ostream & os) const
 bool InsetFootlike::insetAllowed(Inset::Code code) const
 {
        if ((code == Inset::FOOT_CODE) || (code == Inset::MARGIN_CODE)
-           || (code ==Inset::FLOAT_CODE))
+           || (code == Inset::FLOAT_CODE))
                return false;
        return InsetCollapsable::insetAllowed(code);
 }