]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.cpp
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetBibtex.cpp
index 95dc99c53c40566965d704eb166f6984cef1fa56..9b0e77e7b6936654fddce7609c491bd4e296e007 100644 (file)
@@ -59,7 +59,7 @@ InsetBibtex::InsetBibtex(Buffer const & buf, InsetCommandParams const & p)
 
 InsetBibtex::~InsetBibtex()
 {
-       if (buffer_)
+       if (isBufferValid())
                buffer_->invalidateBibinfoCache();
 }