]> git.lyx.org Git - lyx.git/blobdiff - src/TextMetrics.h
More requires --> required, for C++2a.
[lyx.git] / src / TextMetrics.h
index ba1371fd878409de693d55189e1fdd694faa9ded..006836fb0a186b0f88795de6a1095a942aaaaf20 100644 (file)
@@ -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_; }