small stuff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1659 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2001-03-01 20:25:38 +00:00
parent a7bfe9d7f1
commit 7f1781d623
3 changed files with 8 additions and 2 deletions

View 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

View 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] < ' ') {

View File

@ -50,7 +50,7 @@ public:
///
explicit
MathedIter(MathedArray *);
///
/// Virtual base destructor.
virtual ~MathedIter() {}
///
bool goNextCode(MathedTextCodes);