X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fcontrollers%2FControlFloat.C;h=24fe4acdc16f26194063a62bff29716f59cb22f1;hb=b7c9ae49318e0167a46e7213c967280205db4cf6;hp=c78ca8b67151abf7779a0fbebc59d3d44af588f7;hpb=6c3456a115dc1b496f337cda6ee7305aae6a80ed;p=lyx.git diff --git a/src/frontends/controllers/ControlFloat.C b/src/frontends/controllers/ControlFloat.C index c78ca8b671..24fe4acdc1 100644 --- a/src/frontends/controllers/ControlFloat.C +++ b/src/frontends/controllers/ControlFloat.C @@ -1,22 +1,19 @@ -/* This file is part of - * ====================================================== +/** + * \file ControlFloat.C + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * LyX, The Document Processor - * - * Copyright 2001 The LyX Team. - * - * ====================================================== + * \author unknown * + * Full author contact details are available in file CREDITS */ #include -#ifdef __GNUG__ -#pragma implementation -#endif #include "ControlFloat.h" #include "BufferView.h" +#include "buffer.h" ControlFloat::ControlFloat(LyXView & lv, Dialogs & d) @@ -27,8 +24,8 @@ ControlFloat::ControlFloat(LyXView & lv, Dialogs & d) void ControlFloat::applyParamsToInset() { inset()->placement(params().placement); - inset()->wide(params().wide); - lv_.view()->updateInset(inset(), true); + inset()->wide(params().wide, bufferview()->buffer()->params); + bufferview()->updateInset(inset(), true); }