* src/insets/InsetWrap.{cpp,h}:

- fix the fix of rev. 23390. Thanks, Abdel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23392 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-03-02 16:56:57 +00:00
parent eb1b57f0f5
commit ce2a68ce8d
2 changed files with 1 additions and 10 deletions

View File

@ -107,6 +107,7 @@ bool InsetWrap::getStatus(Cursor & cur, FuncRequest const & cmd,
void InsetWrap::updateLabels(ParIterator const & it)
{
setLabel(_("wrap: ") + floatName(params_.type, buffer().params()));
Counters & cnts = buffer().params().documentClass().counters();
string const saveflt = cnts.current_float();
@ -192,14 +193,6 @@ void InsetWrap::read(Lexer & lex)
}
void InsetWrap::draw(PainterInfo & pi, int x, int y) const
{
const_cast<InsetWrap &>(*this).setLabel(
_("wrap: ") + floatName(params_.type, buffer().params()));
InsetCollapsable::draw(pi, x, y);
}
void InsetWrap::validate(LaTeXFeatures & features) const
{
features.require("wrapfig");

View File

@ -53,8 +53,6 @@ public:
///
void read(Lexer & lex);
///
void draw(PainterInfo & pi, int x, int y) const;
///
void validate(LaTeXFeatures & features) const;
///
InsetCode lyxCode() const { return WRAP_CODE; }