#include <boost/assert.hpp>
+using namespace std;
namespace lyx {
-using std::string;
-
void MailInset::showDialog(BufferView * bv) const
{
void MailInset::hideDialog() const
{
- theApp()->hideDialogs(name(), &inset());
+ if (theApp())
+ theApp()->hideDialogs(name(), &inset());
}