]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaption.cpp
Fix a number of other uninitialized members.
[features.git] / src / insets / InsetCaption.cpp
index b69d1ba71a31526b31251e74a6b3f14d55303f2d..208ad1ac38e8da2f31fa2fc7aa0dd2f0343df5e4 100644 (file)
@@ -51,7 +51,8 @@ namespace lyx {
 
 
 InsetCaption::InsetCaption(Buffer * buf, string const & type)
-    : InsetText(buf, InsetText::PlainLayout), type_(type)
+    : InsetText(buf, InsetText::PlainLayout), 
+      labelwidth_(0), is_subfloat_(false), type_(type)
 {
        setDrawFrame(true);
        setFrameColor(Color_collapsableframe);