]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_xyarrowinset.C
Jean-Marc's fix for wrong descent
[lyx.git] / src / mathed / math_xyarrowinset.C
index e9d9bcdf5c19fbb855d43aa34ba94bf138893d85..b0047d99ef30727b2bb2a2d9f3c6f81ea4898d1f 100644 (file)
@@ -1,8 +1,5 @@
 #include <config.h>
 
-#ifdef __GNUG__
-#pragma implementation
-#endif
 
 #include "math_xyarrowinset.h"
 #include "math_xymatrixinset.h"
@@ -35,7 +32,7 @@ MathXYMatrixInset const * MathXYArrowInset::targetMatrix() const
 
 MathArray const & MathXYArrowInset::targetCell() const
 {
-#if 0  
+#if 0
        MathXYMatrixInset const * p = targetMatrix();
        int x = 0;
        int y = 0;
@@ -137,9 +134,9 @@ void MathXYArrowInset::write(WriteStream & os) const
 {
        os << "\\ar";
        if (cell(0).size())
-               os << "[" << cell(0) << "]";
+               os << '[' << cell(0) << ']';
        if (cell(1).size())
-               os << (up_ ? "^" : "_") << "{" << cell(1) << "}";
+               os << (up_ ? '^' : '_') << '{' << cell(1) << '}';
        os << " ";
 }
 
@@ -148,5 +145,5 @@ void MathXYArrowInset::normalize(NormalStream & os) const
 {
        os << "[xyarrow ";
        MathNestInset::normalize(os);
-       os << "]";
+       os << ']';
 }