]> git.lyx.org Git - lyx.git/blobdiff - src/OutputParams.h
fix "make check" with gcc 4.3
[lyx.git] / src / OutputParams.h
index f0816d6e4eafc9dab5907458a5b31eecaa48d63a..00a1e11030e896b973a35a4ddc372b82a91f0fdd 100644 (file)
@@ -41,6 +41,12 @@ public:
                ALIGNED
        };
 
+       enum Float {
+               NONFLOAT,
+               MAINFLOAT,
+               SUBFLOAT
+       };
+
        OutputParams(Encoding const *);
        ~OutputParams();
 
@@ -136,6 +142,11 @@ public:
          */
        TableCell inTableCell;
 
+       /** Whether we are inside a float or subfloat.
+        *  Needed for subfloat detection on the command line.
+        */
+       Float inFloat;
+
        /** Whether we are inside an inset that is logically deleted.
         *  A value > 0 indicates a deleted inset.
          */