]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaption.h
Change the signature of forceEmptyLayout(), so that we can pass a cell index with...
[features.git] / src / insets / InsetCaption.h
index 669b979f6f8e69c978b803bebc090c9de97d0aa7..f158e4a3577cdd435d416c0d0ce4e22e0fd16e31 100644 (file)
@@ -71,9 +71,9 @@ private:
        ///
        void addToToc(ParConstIterator const &) const;
        /// 
-       bool forceEmptyLayout() const { return true; }
+       virtual bool forceEmptyLayout(idx_type = 0) const { return true; }
        /// Captions don't accept alignment, spacing, etc.
-       bool allowParagraphCustomization(idx_type) const { return false; }
+       virtual bool allowParagraphCustomization(idx_type = 0) const { return false; }
        ///
        Inset * clone() const { return new InsetCaption(*this); }