]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathData.h
* src/frontends/GuiDocument.{cpp,h}:
[lyx.git] / src / mathed / MathData.h
index c0388aa6710389e13ea6c543e56e54b2e0fcae95..c235b2ce18e67d84bc5f29a40ea3e9f55b3fe64b 100644 (file)
@@ -132,13 +132,13 @@ public:
        /// write access to coordinate;
        void setXY(BufferView & bv, int x, int y) const;
        /// returns x coordinate of given position in the array
-       int pos2x(size_type pos) const;
+       int pos2x(BufferView const * bv, size_type pos) const;
        /// returns position of given x coordinate
-       int pos2x(size_type pos, int glue) const;
+       int pos2x(BufferView const * bv, size_type pos, int glue) const;
        /// returns position of given x coordinate
-       size_type x2pos(int pos) const;
+       size_type x2pos(BufferView const * bv, int pos) const;
        /// returns position of given x coordinate fstarting from a certain pos
-       size_type x2pos(int targetx, int glue) const;
+       size_type x2pos(BufferView const * bv, int targetx, int glue) const;
        /// returns distance of this cell to the point given by x and y
        // assumes valid position and size cache
        int dist(BufferView const & bv, int x, int y) const;
@@ -152,7 +152,7 @@ public:
        /// additional super/subscript shift
        int sshift() const { return sshift_; }
        /// superscript kerning
-       int kerning(BufferView const * bv) const { return kerning_; }
+       int kerning(BufferView const *) const { return kerning_; }
        ///
        void swap(MathData & ar) { base_type::swap(ar); }
 
@@ -187,8 +187,6 @@ private:
                const size_type numParams, std::vector<MathData> & params, 
                size_t & pos, MathAtom & scriptToPutAround,
                const pos_type macroPos, const int thisPos, const int thisSlice);
-       ///
-       mutable std::vector<Dimension> atom_dims_;
 };
 
 ///