]> git.lyx.org Git - lyx.git/blobdiff - src/insets/MailInset.cpp
Fix text frame drawing.
[lyx.git] / src / insets / MailInset.cpp
index 6a7d09edd2dbc35339081cdc5bc3041fbf70d1f8..d5a7a5bf1a26488f02068e4ac32e75d2bc3c1682 100644 (file)
@@ -25,7 +25,7 @@ using std::string;
 void MailInset::showDialog(BufferView * bv) const
 {
        BOOST_ASSERT(bv);
-       bv->showInsetDialog(name(), inset2string(*bv->buffer()),
+       bv->showInsetDialog(name(), inset2string(bv->buffer()),
                                       &inset());
 }
 
@@ -33,7 +33,7 @@ void MailInset::showDialog(BufferView * bv) const
 void MailInset::updateDialog(BufferView * bv) const
 {
        BOOST_ASSERT(bv);
-       bv->updateDialog(name(), inset2string(*bv->buffer()));
+       bv->updateDialog(name(), inset2string(bv->buffer()));
 }