]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.h
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / Inset.h
index d4a15940a376a635f1c10a1a3dfb19b973a89f1d..09211a0232560b326acc11e9fe79d53c47ef0cac 100644 (file)
@@ -226,6 +226,8 @@ public:
        virtual bool allowEmpty() const;
        /// Force inset into LTR environment if surroundings are RTL
        virtual bool forceLTR() const;
+       /// whether to include this inset in the strings generated for the TOC
+       virtual bool isInToc() const;
 
        /// Where should we go when we press the up or down cursor key?
        virtual bool idxUpDown(Cursor & cur, bool up) const;
@@ -336,7 +338,7 @@ public:
        // true for InsetTabular & InsetText
        virtual bool isActive() const { return nargs() > 0; }
        /// can we click at the specified position ?
-       virtual bool clickable(int x, int y) const { return false; }
+       virtual bool clickable(int, int) const { return false; }
 
        /// does this contain text that can be change track marked in DVI?
        virtual bool canTrackChanges() const { return false; }