]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_macro.C
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_macro.C
index 7ac130d2659aa729c60718d481bdca4dbfd63b8a..7ab5dc3490189beb68aff90bf7652f68cbaf2341 100644 (file)
@@ -162,14 +162,16 @@ void MathMacro::dump() const
 }
 
 
-bool MathMacro::idxUp(idx_type & idx, pos_type & pos) const
+bool MathMacro::idxUp(idx_type & idx) const
 {
+       pos_type pos;
        return MathNestInset::idxLeft(idx, pos);
 }
 
 
-bool MathMacro::idxDown(idx_type & idx, pos_type & pos) const
+bool MathMacro::idxDown(idx_type & idx) const
 {
+       pos_type pos;
        return MathNestInset::idxRight(idx, pos);
 }