]> git.lyx.org Git - features.git/commitdiff
small stuff
authorLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 1 Mar 2001 20:25:38 +0000 (20:25 +0000)
committerLars Gullik Bjønnes <larsbj@gullik.org>
Thu, 1 Mar 2001 20:25:38 +0000 (20:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1659 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/math_iter.C
src/mathed/math_iter.h

index 568373aab67da981cdc45e35e7ffb83e4d086c74..e41d600a596b3ad16a3a7f31b7fd45497661bb46 100644 (file)
@@ -1,5 +1,11 @@
 2001-03-01  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
 
+       * 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
 
index 46da31d2671cbe56b0141d20851d819d8a552471..39e32ea0e72e856d02b4a64e4ae9679142d4e4be 100644 (file)
@@ -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] < ' ') {
index 22b0a0e9d223ec14cb3a9c9e70cf030c7b061837..2706fa2bb6772f8c0a15b4c44348614d1edb41aa 100644 (file)
@@ -50,7 +50,7 @@ public:
        ///
        explicit
        MathedIter(MathedArray *);
-       ///
+       /// Virtual base destructor.
        virtual ~MathedIter() {}
        ///
        bool goNextCode(MathedTextCodes);