#include "support/LOstream.h"
#include "support/lstrings.h"
#include "debug.h"
+#include "gettext.h"
using std::ostream;
using std::endl;
<< endl;
}
}
+#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()) {
Inset * InsetMinipage::Clone(Buffer const &) const
{
InsetMinipage * result = new InsetMinipage;
- result->inset->init(inset);
+ result->inset.init(&inset);
result->collapsed = collapsed;
result->pos_ = pos_;
os << "\\begin{minipage}[" << s_pos << "]{"
<< LyXLength(width_).asLatexString() << "}%\n";
- int i = inset->Latex(buf, os, fragile, fp);
+ int i = inset.Latex(buf, os, fragile, fp);
os << "\\end{minipage}%\n";
return i + 2;
bool InsetMinipage::ShowInsetDialog(BufferView * bv) const
{
- if (!inset->ShowInsetDialog(bv))
+ if (!inset.ShowInsetDialog(bv))
bv->owner()->getDialogs()->showMinipage(const_cast<InsetMinipage *>(this));
return true;
}