]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaption.cpp
Now that Text knows its owner, use the associated Buffer access.
[features.git] / src / insets / InsetCaption.cpp
index 87888c0fdf8f89d8fbb2d504b6305cf7ce0cfb5f..4b19a6d3bfe785cf3d78dd66a63dde98ac7fd018 100644 (file)
@@ -60,7 +60,7 @@ InsetCaption::InsetCaption(Buffer const & buf)
 void InsetCaption::write(ostream & os) const
 {
        os << "Caption\n";
-       text().write(buffer(), os);
+       text().write(os);
 }