]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_gridinfo.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_gridinfo.h
index 1950659a4f81747b1ac7cc0df73bae176cd6b0f4..2c9c8874eab00ba25a9b7178db8e1e798ad87caf 100644 (file)
 #ifndef MATH_GRIDINFO_H
 #define MATH_GRIDINFO_H
 
-#include "support/std_string.h"
+#include <string>
 
-struct ColInfo
+
+class ColInfo
 {
+public:
        ColInfo() : align('c'), rightline(0), leftline(false) {}
        char   align;      // column alignment
-       string width;      // column width
-       string special;    // special column alignment
+       std::string width;      // column width
+       std::string special;    // special column alignment
        int    rightline;  // a line on the right?
        bool   leftline;
 };
 
 
-struct RowInfo
+class RowInfo
 {
-       RowInfo() : topline(false), bottomline(false) {} 
+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)
        {}
 
-       string content;    // cell content
+       std::string content;    // cell content
        int multi;         // multicolumn flag
        char align;        // cell alignment
        bool leftline;     // do we have a line on the left?