]> git.lyx.org Git - lyx.git/commitdiff
* fix http://bugzilla.lyx.org/show_bug.cgi?id=4622
authorStefan Schimanski <sts@lyx.org>
Tue, 11 Mar 2008 17:23:14 +0000 (17:23 +0000)
committerStefan Schimanski <sts@lyx.org>
Tue, 11 Mar 2008 17:23:14 +0000 (17:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23663 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathAMSArray.cpp
src/mathed/InsetMathAMSArray.h

index a8fdf68346e110ff1322dc954d10ae6229fc6855..3a8c3783806f18d94dc2998f70c73b581633ea6a 100644 (file)
@@ -88,14 +88,6 @@ void InsetMathAMSArray::metrics(MetricsInfo & mi, Dimension & dim) const
 }
 
 
-Dimension const InsetMathAMSArray::dimension(BufferView const & bv) const
-{
-       Dimension dim = InsetMathGrid::dimension(bv);
-       dim.wid += 14;
-       return dim;
-}
-
-
 void InsetMathAMSArray::draw(PainterInfo & pi, int x, int y) const
 {
        Dimension const dim = dimension(*pi.base.bv);
index 2b5491fe37e7b2da5bf05d586f6a9ed6a827123c..6555c5914bacc068d8b19e92ec8f10da50ce16a9 100644 (file)
@@ -27,8 +27,6 @@ public:
        ///
        void metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
-       Dimension const dimension(BufferView const &) const;
-       ///
        void draw(PainterInfo & pain, int x, int y) const;
        ///
        InsetMathAMSArray * asAMSArrayInset() { return this; }