]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetminipage.C
Make it compile when USE_BOOST_FORMAT is unset
[lyx.git] / src / insets / insetminipage.C
index ad88fa8cca5eccedde0209a7c4b9cdb5665d1f71..a4057dbfbd6a3a4bc23d3a3bab38e370fd31d25e 100644 (file)
@@ -1,11 +1,13 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file insetminipage.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
+ * \author Jürgen Vigna
+ * \author Lars Gullik Bjønnes
  *
- *          Copyright 1998 The LyX Team.
- *
- *======================================================*/
+ * Full author contact details are available in file CREDITS
+ */
 
 #include <config.h>
 
@@ -349,6 +351,5 @@ int InsetMinipage::getMaxWidth(BufferView * bv, UpdatableInset const * inset)
 
 int InsetMinipage::latexTextWidth(BufferView * bv) const
 {
-       return width_.inPixels(InsetCollapsable::latexTextWidth(bv),
-                              bv->text->defaultHeight());
+       return width_.inPixels(InsetCollapsable::latexTextWidth(bv));
 }