]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinfo.h
Andreas' patch to prevent crash on click on previewd inset
[lyx.git] / src / mathed / math_gridinfo.h
index a33bd1fc83adc1d4786df8861c2bef03a8ccb48c..2c9c8874eab00ba25a9b7178db8e1e798ad87caf 100644 (file)
@@ -15,8 +15,9 @@
 #include <string>
 
 
-struct ColInfo
+class ColInfo
 {
+public:
        ColInfo() : align('c'), rightline(0), leftline(false) {}
        char   align;      // column alignment
        std::string width;      // column width
@@ -26,16 +27,18 @@ struct ColInfo
 };
 
 
-struct RowInfo
+class RowInfo
 {
+public:
        RowInfo() : topline(false), bottomline(false) {}
        bool topline;     // horizontal line above
        int  bottomline;  // horizontal line below
 };
 
 
-struct CellInfo
+class CellInfo
 {
+public:
        CellInfo()
                : multi(0), leftline(false), rightline(false),
           topline(false), bottomline(false)