-#ifdef WITH_WARNINGS
-#warning Remove me before final 1.2.0 (Jug)
-#warning Can we please remove this as soon as possible? (Lgb)
-#endif
- // this is only for compatibility to the intermediate format and should
- // vanish till the final 1.2.0!
- if (lex.IsOK()) {
- if (token.empty()) {
- lex.next();
- token = lex.GetString();
- }
- if (token == "widthp") {
- lex.next();
- // only do this if the width_-string was not already set!
- if (width_.empty())
- width_ = lex.GetString() + "%";
- token = string();
- }
- }
- if (!token.empty())
- lex.pushToken(token);
- InsetCollapsable::Read(buf, lex);
-}
-
-
-Inset * InsetMinipage::Clone(Buffer const &) const
-{
- InsetMinipage * result = new InsetMinipage;
- result->inset.init(&inset);
-
- result->collapsed = collapsed;
- result->pos_ = pos_;
- result->inner_pos_ = inner_pos_;
- result->height_ = height_;
- result->width_ = width_;
- return result;