remove debug code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2906 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-10-19 16:07:10 +00:00
parent ba171ba664
commit 3d8efcecf9

View File

@ -13,16 +13,14 @@
MathBoxInset::MathBoxInset(string const & name) MathBoxInset::MathBoxInset(string const & name)
: MathDimInset(), name_(name), text_(new InsetText), buffer_(0) : MathDimInset(), name_(name), text_(new InsetText), buffer_(0)
{ {}
lyxerr << "creating new " << name << endl;
}
MathBoxInset::MathBoxInset(MathBoxInset const & m) MathBoxInset::MathBoxInset(MathBoxInset const & m)
: MathDimInset(*this), name_(m.name_), text_(0), buffer_(m.buffer_) : MathDimInset(*this), name_(m.name_), text_(0), buffer_(m.buffer_)
{ {
if (!m.buffer_) if (!m.buffer_)
cerr << "no buffer\n"; lyxerr << "no buffer\n";
else else
text_ = static_cast<InsetText *>(m.text_->clone(*m.buffer_, false)); text_ = static_cast<InsetText *>(m.text_->clone(*m.buffer_, false));
} }