InsetBibitem::~InsetBibitem()
{
if (isBufferLoaded()) {
- /* Coverity believes that this may throw an exception, but
- * actually this code path is not taken when buffer_ == 0 */
- LATTEST(buffer_);
- buffer().invalidateBibinfoCache();
+ /* We do not use buffer() because Coverity believes that this
+ * may throw an exception. Actually this code path is not
+ * taken when buffer_ == 0 */
+ buffer_->invalidateBibinfoCache();
}
}
InsetBibtex::~InsetBibtex()
{
if (isBufferLoaded()) {
- /* Coverity believes that this may throw an exception, but
- * actually this code path is not taken when buffer_ == 0 */
- // coverity[fun_call_w_exception]
- buffer().invalidateBibfileCache();
- // coverity[fun_call_w_exception]
- buffer().removeBiblioTempFiles();
+ /* We do not use buffer() because Coverity believes that this
+ * may throw an exception. Actually this code path is not
+ * taken when buffer_ == 0 */
+ buffer_-> invalidateBibfileCache();
+ buffer_->removeBiblioTempFiles();
}
}
InsetCitation::~InsetCitation()
{
if (isBufferLoaded())
- /* Coverity believes that this may throw an exception, but
- * actually this code path is not taken when buffer_ == 0 */
- // coverity[fun_call_w_exception]
- buffer().removeBiblioTempFiles();
+ /* We do not use buffer() because Coverity believes that this
+ * may throw an exception. Actually this code path is not
+ * taken when buffer_ == 0 */
+ buffer_->removeBiblioTempFiles();
}
InsetInclude::~InsetInclude()
{
if (isBufferLoaded())
- /* Coverity believes that this may throw an exception, but
- * actually this code path is not taken when buffer_ == 0 */
- // coverity[exn_spec_violation]
- buffer().invalidateBibfileCache();
+ /* We do not use buffer() because Coverity believes that this
+ * may throw an exception. Actually this code path is not
+ * taken when buffer_ == 0 */
+ buffer_->invalidateBibfileCache();
delete label_;
}