]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_casesinset.C
whichFont down to 5.3%
[lyx.git] / src / mathed / math_casesinset.C
index 183e9550606ba13c1a8cd9966f549c297ece0374..c5fabe678a2d1f15f3077e5167373dbcb0bc56f8 100644 (file)
@@ -1,3 +1,5 @@
+#include <config.h>
+
 #ifdef __GNUG__
 #pragma implementation
 #endif
@@ -36,11 +38,11 @@ void MathCasesInset::draw(Painter & pain, int x, int y) const
 
 void MathCasesInset::write(WriteStream & os) const
 {
-       if (os.fragile)
+       if (os.fragile())
                os << "\\protect";
        os << "\\begin{cases}";
        MathGridInset::write(os);
-       if (os.fragile)
+       if (os.fragile())
                os << "\\protect";
        os << "\\end{cases}\n";
 }