]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaption.h
DocBook, InsetFloat: avoid a potential nullptr dereference when detecting the type...
[features.git] / src / insets / InsetCaption.h
index c5a7d086c7414fc5e266f5c3c8a36228185cea39..c1bcd17b6b44e5111f14e0c4adb27ec06b9ec64b 100644 (file)
@@ -40,7 +40,7 @@ private:
        ///
        void write(std::ostream & os) const override;
        ///
-       RowFlags rowFlags() const override { return Display; }
+       int rowFlags() const override { return Display; }
        ///
        bool neverIndent() const override { return true; }
        ///
@@ -96,6 +96,8 @@ private:
        ///
        mutable int labelwidth_ = 0;
        ///
+       mutable bool rtl_ = false;
+       ///
        std::string floattype_;
        ///
        bool is_subfloat_ = false;