]> git.lyx.org Git - features.git/commitdiff
Squash compiler warning about unused var.
authorAngus Leeming <leeming@lyx.org>
Tue, 20 Apr 2004 08:44:30 +0000 (08:44 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 20 Apr 2004 08:44:30 +0000 (08:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8681 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/math_nestinset.C

index c8b45f1d74610274f17539598ce1e302b5eaef07..fb5a0ddcd089e0aa1489e342caf04a720d787932 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-20  Angus Leeming  <leeming@lyx.org>
+
+       * math_nestinset.C (notifyCursorLeaves): squash warning about
+       unused var.
+
 2004-04-20  Angus Leeming  <leeming@lyx.org>
 
        * math_hullinset.C (addPreview): Add the preview only if
@@ -20,7 +25,7 @@
        could be replaced by the compiler-generated defaults if preview_
        was stored as a RenderPreview var rather than a scoped pointer.
        (metrics, draw): use the preview renderer if previewing is turned on.
-       
+
 2004-04-05  Angus Leeming  <leeming@lyx.org>
 
        * math_scriptinset.C (up, down, notifyCursorLeaves): ensure that
index 79c529bbc3f61731e829f28aa0b2c0917ba97da6..664fb09f0403e8c3c106a03fd89326611e7f2322 100644 (file)
@@ -205,7 +205,7 @@ void MathNestInset::drawSelection(PainterInfo & pi, int, int) const
        CursorSlice s1 = cur.selBegin();
        CursorSlice s2 = cur.selEnd();
        //lyxerr << "MathNestInset::drawing selection: "
-       //      << " s1: " << s1 << " s2: " << s2 << endl; 
+       //      << " s1: " << s1 << " s2: " << s2 << endl;
        if (s1.idx() == s2.idx()) {
                MathArray const & c = cell(s1.idx());
                int x1 = c.xo() + c.pos2x(s1.pos());
@@ -215,7 +215,7 @@ void MathNestInset::drawSelection(PainterInfo & pi, int, int) const
                pi.pain.fillRectangle(x1, y1, x2 - x1, y2 - y1, LColor::selection);
        //lyxerr << "MathNestInset::drawing selection 3: "
        //      << " x1: " << x1 << " x2: " << x2
-       //      << " y1: " << y1 << " y2: " << y2 << endl; 
+       //      << " y1: " << y1 << " y2: " << y2 << endl;
        } else {
                for (idx_type i = 0; i < nargs(); ++i) {
                        if (idxBetween(i, s1.idx(), s2.idx())) {
@@ -313,7 +313,7 @@ int MathNestInset::latex(Buffer const &, std::ostream & os,
 }
 
 
-void MathNestInset::notifyCursorLeaves(LCursor & cur)
+void MathNestInset::notifyCursorLeaves(LCursor & /*cur*/)
 {
 #warning look here
 #if 0
@@ -381,7 +381,7 @@ void MathNestInset::priv_dispatch(LCursor & cur, FuncRequest & cmd)
        switch (cmd.action) {
 
        case LFUN_PASTE: {
-               recordUndo(cur);        
+               recordUndo(cur);
                cur.message(_("Paste"));
                replaceSelection(cur);
                size_t n = 0;
@@ -800,7 +800,7 @@ bool MathNestInset::getStatus(LCursor & /*cur*/, FuncRequest const & cmd,
                FuncStatus & flag) const
 {
        // the font related toggles
-       //string tc = "mathnormal"; 
+       //string tc = "mathnormal";
        bool ret = true;
        switch (cmd.action) {
 #if 0