]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlMinipage.C
ws fixes, formatting and some other small changes
[lyx.git] / src / frontends / controllers / ControlMinipage.C
index 2ebc759a4c34e2400ca98d1fac77d8a33a15c317..a8db010c82c0b30b7d7067438099383b73ca28a4 100644 (file)
@@ -1,14 +1,12 @@
-/* This file is part of
- * ======================================================
+/**
+ * \file ControlMinipage.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 Angus Leeming
  *
- *           Copyright 2001 The LyX Team.
- *
- * ======================================================
- *
- * \author Jürgen Vigna, jug@sad.it
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * Full author contact details are available in file CREDITS
  */
 
 #include <config.h>
@@ -31,7 +29,7 @@ void ControlMinipage::applyParamsToInset()
        inset()->pageWidth(params().pageWidth);
        inset()->pos(params().pos);
 
-       lv_.view()->updateInset(inset(), true);
+       bufferview()->updateInset(inset(), true);
 }
 
 
@@ -50,6 +48,7 @@ MinipageParams::MinipageParams()
        : pos(InsetMinipage::top)
 {}
 
+
 MinipageParams::MinipageParams(InsetMinipage const & inset)
        : pageWidth(inset.pageWidth()), pos(inset.pos())
 {}