#include "frontends/alert.h"
-#include "support/lstrings.h"
+#include "support/convert.h"
#include "support/docstream.h"
#include "support/gettext.h"
-#include "support/convert.h"
+#include "support/lstrings.h"
using namespace std;
using namespace lyx::support;
InsetBibitem::~InsetBibitem()
{
- if (buffer_)
+ if (isBufferValid())
buffer_->invalidateBibinfoCache();
}