X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FRow.h;h=d210174ef9460b269433dc9ac1c88fc2d7cc318e;hb=4da19ef8330fc90e712308d63aa7ddc0abfaef7b;hp=a42d91d3f18d30e69c38f56edcd6bdda62770fc5;hpb=654cded167a3d5ce3ee8ec171a698268ef2d589f;p=lyx.git diff --git a/src/Row.h b/src/Row.h index a42d91d3f1..d210174ef9 100644 --- a/src/Row.h +++ b/src/Row.h @@ -198,9 +198,9 @@ public: bool flushed() const { return flushed_; } /// - Dimension const & dimension() const { return dim_; } + Dimension const & dim() const { return dim_; } /// - Dimension & dimension() { return dim_; } + Dimension & dim() { return dim_; } /// int height() const { return dim_.height(); } /// The width of the row, including the left margin, but not the right one. @@ -261,8 +261,6 @@ public: Element const & back() const { return elements_.back(); } /// remove last element void pop_back(); - /// remove all row elements - void clear() { elements_.clear(); } /** * if row width is too large, remove all elements after last * separator and update endpos if necessary. If all that