X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2Fmath_inset.C;h=9bc23390677907a362a73df3f06b728794f56084;hb=2da8fcabdc695b8bb139d7252b923ef6b9aa29dd;hp=31dd692391ade73bd5ca397f490f538ca7914a5e;hpb=d7525e974053df6bf1345a2cd772473b3042c27b;p=lyx.git diff --git a/src/mathed/math_inset.C b/src/mathed/math_inset.C index 31dd692391..9bc2339067 100644 --- a/src/mathed/math_inset.C +++ b/src/mathed/math_inset.C @@ -26,8 +26,8 @@ int MathInset::workwidth; -MathInset::MathInset(string const & name) - : name_(name), size_(LM_ST_DISPLAY), code_(LM_TC_MIN), xo_(0), yo_(0) +MathInset::MathInset() + : size_(LM_ST_DISPLAY), xo_(0), yo_(0) {} @@ -37,18 +37,6 @@ int MathInset::height() const } -string const & MathInset::name() const -{ - return name_; -} - - -void MathInset::setName(string const & n) -{ - name_ = n; -} - - MathStyles MathInset::size() const { return size_; @@ -248,7 +236,7 @@ void MathInset::userSetSize(MathStyles sz) void MathInset::writeNormal(std::ostream & os) const { - os << "[" << name_ << "] "; + os << "[unknown] "; } @@ -295,18 +283,6 @@ std::vector MathInset::idxBetween(int from, int to) const } -MathTextCodes MathInset::code() const -{ - return code_; -} - - -void MathInset::code(MathTextCodes t) -{ - code_ = t; -} - - void MathInset::metrics(MathStyles st) const { lyxerr << "MathInset::metrics() called directly!\n";