X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextMetrics.h;h=006836fb0a186b0f88795de6a1095a942aaaaf20;hb=55012674c87bae73da86b64148427b0e6e3c58f4;hp=ba1371fd878409de693d55189e1fdd694faa9ded;hpb=ab02a907f0de3d638e024dbe65566b85578f12fb;p=lyx.git diff --git a/src/TextMetrics.h b/src/TextMetrics.h index ba1371fd87..006836fb0a 100644 --- a/src/TextMetrics.h +++ b/src/TextMetrics.h @@ -33,6 +33,9 @@ class Text; /// A map from a Text to the map of paragraphs metrics class TextMetrics { + /// noncopyable + TextMetrics(TextMetrics const &); + void operator=(TextMetrics const &); public: /// Default constructor (only here for STL containers). TextMetrics() : bv_(0), text_(0), max_width_(0) {} @@ -49,6 +52,8 @@ public: bool isLastRow(Row const & row) const; /// is this row the first in the text? bool isFirstRow(Row const & row) const; + /// + void setRowChanged(pit_type pit, pos_type pos); /// Dimension const & dim() const { return dim_; }