]> git.lyx.org Git - lyx.git/blobdiff - src/tabular.h
Trivial fixes to some warnings thrown up by MSVS.Net 2003.
[lyx.git] / src / tabular.h
index 46223de2d4769e1febcb748666c37cd51514ba65..8d73b28d5dcb11f7c9beb1d7a5360922f339fea1 100644 (file)
@@ -157,7 +157,8 @@ public:
                BOX_MINIPAGE = 2
        };
 
-       struct ltType {
+       class ltType {
+       public:
                // constructor
                ltType();
                // we have this header type (is set in the getLT... functions)
@@ -383,6 +384,9 @@ public:
        ///
        boost::shared_ptr<InsetText> getCellInset(row_type row,
                                                  col_type column) const;
+       ///
+       void setCellInset(row_type row, col_type column,
+                         boost::shared_ptr<InsetText>) const;
        /// Search for \param inset in the tabular, with the
        ///
        idx_type getCellFromInset(InsetBase const * inset) const;
@@ -397,7 +401,8 @@ public:
        ///
 //private:
        ///
-       struct cellstruct {
+       class cellstruct {
+       public:
                ///
                cellstruct(BufferParams const &);
                ///
@@ -442,7 +447,8 @@ public:
        typedef std::vector<cell_vector> cell_vvector;
 
        ///
-       struct rowstruct {
+       class rowstruct {
+       public:
                ///
                rowstruct();
                ///
@@ -469,7 +475,8 @@ public:
        typedef std::vector<rowstruct> row_vector;
 
        ///
-       struct columnstruct {
+       class columnstruct {
+               public:
                ///
                columnstruct();
                ///