From: Stefan Schimanski Date: Tue, 11 Mar 2008 17:23:14 +0000 (+0000) Subject: * fix http://bugzilla.lyx.org/show_bug.cgi?id=4622 X-Git-Tag: 1.6.10~5697 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=5354a5d592cb1e90b7c8b5bbec41b31e94a3e167;p=lyx.git * fix http://bugzilla.lyx.org/show_bug.cgi?id=4622 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23663 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathAMSArray.cpp b/src/mathed/InsetMathAMSArray.cpp index a8fdf68346..3a8c378380 100644 --- a/src/mathed/InsetMathAMSArray.cpp +++ b/src/mathed/InsetMathAMSArray.cpp @@ -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); diff --git a/src/mathed/InsetMathAMSArray.h b/src/mathed/InsetMathAMSArray.h index 2b5491fe37..6555c5914b 100644 --- a/src/mathed/InsetMathAMSArray.h +++ b/src/mathed/InsetMathAMSArray.h @@ -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; }