From: Lars Gullik Bjønnes Date: Thu, 1 Mar 2001 20:25:38 +0000 (+0000) Subject: small stuff X-Git-Tag: 1.6.10~21533 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7f1781d623806cbf57fbbc67d612a16614a0b262;p=features.git small stuff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1659 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 568373aab6..e41d600a59 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,5 +1,11 @@ 2001-03-01 Lars Gullik Bjønnes + * math_iter.h: add comment on virtual destructor + + * math_iter.C (Delete): make c const + + * math_parinset.C (Metrics): cleanup indent. make one string const. + * math_inset.C (size): move out of line (incSize): ditto diff --git a/src/mathed/math_iter.C b/src/mathed/math_iter.C index 46da31d267..39e32ea0e7 100644 --- a/src/mathed/math_iter.C +++ b/src/mathed/math_iter.C @@ -340,7 +340,7 @@ bool MathedIter::Delete() return false; int shift = 0; - byte c = GetChar(); + byte const c = GetChar(); if (c >= ' ') { if (MathIsFont((*array)[pos - 1]) && (*array)[pos + 1] < ' ') { diff --git a/src/mathed/math_iter.h b/src/mathed/math_iter.h index 22b0a0e9d2..2706fa2bb6 100644 --- a/src/mathed/math_iter.h +++ b/src/mathed/math_iter.h @@ -50,7 +50,7 @@ public: /// explicit MathedIter(MathedArray *); - /// + /// Virtual base destructor. virtual ~MathedIter() {} /// bool goNextCode(MathedTextCodes);