mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* 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:
parent
eb1b57f0f5
commit
ce2a68ce8d
@ -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");
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user