]> git.lyx.org Git - lyx.git/blobdiff - src/insets/Inset.h
Fix empty width support for Box inset
[lyx.git] / src / insets / Inset.h
index 36a0f929d8b38c445e0d7fb5b0ca3dd274c566bc..8165b4c7c13ac3df7b366ea7762d9512b740f436 100644 (file)
@@ -127,7 +127,7 @@ public:
          * Intented purpose is to sanitize internal state with regard to current
          * Buffer. 
          **/
-       virtual void initView() {};
+       virtual void initView() {}
        /// \return true if this inset is labeled.
        virtual bool isLabeled() const { return false; }
 
@@ -351,7 +351,7 @@ public:
        /// can we click at the specified position ?
        virtual bool clickable(int, int) const { return false; }
        /// Move one cell backwards
-       virtual bool allowsCaptionVariation() const { return false; }
+       virtual bool allowsCaptionVariation(std::string const &) const { return false; }
 
        /// does this contain text that can be change track marked in DVI?
        virtual bool canTrackChanges() const { return false; }