]> git.lyx.org Git - lyx.git/blob - src/mathed/math_fracbase.C
fix the size of some variables to avoid compaq cxx warnings
[lyx.git] / src / mathed / math_fracbase.C
1 #ifdef __GNUG__
2 #pragma implementation
3 #endif
4
5 #include "math_fracbase.h"
6
7
8 MathFracbaseInset::MathFracbaseInset()
9         : MathNestInset(2)
10 {}
11
12
13 bool MathFracbaseInset::idxRight(MathInset::idx_type &,
14                                  MathInset::pos_type &) const
15 {
16         return false;
17 }
18
19
20 bool MathFracbaseInset::idxLeft(MathInset::idx_type &,
21                                 MathInset::pos_type &) const
22 {
23         return false;
24 }
25
26
27 bool MathFracbaseInset::idxUp(MathInset::idx_type & idx,
28                               MathInset::pos_type &) const
29 {
30         if (idx == 0)
31                 return false;
32         idx = 0;
33         return true;
34 }
35
36
37 bool MathFracbaseInset::idxDown(MathInset::idx_type & idx,
38                                 MathInset::pos_type &) const
39 {
40         if (idx == 1)
41                 return false;
42         idx = 1;
43         return true;
44 }