mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Followup to e10db6c7
: handle InsetCitation too.
This commit is contained in:
parent
5890e9b831
commit
08561eba3f
@ -68,7 +68,7 @@ InsetBibitem::InsetBibitem(Buffer * buf, InsetCommandParams const & p)
|
||||
InsetBibitem::~InsetBibitem()
|
||||
{
|
||||
if (isBufferLoaded())
|
||||
/* Coverity believs that this may throw an exception, but
|
||||
/* Coverity believes that this may throw an exception, but
|
||||
* actually this code path is not taken when buffer_ == 0 */
|
||||
// coverity[exn_spec_violation]
|
||||
buffer().invalidateBibinfoCache();
|
||||
|
@ -68,7 +68,7 @@ InsetBibtex::InsetBibtex(Buffer * buf, InsetCommandParams const & p)
|
||||
InsetBibtex::~InsetBibtex()
|
||||
{
|
||||
if (isBufferLoaded()) {
|
||||
/* Coverity believs that this may throw an exception, but
|
||||
/* 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();
|
||||
|
@ -55,6 +55,9 @@ InsetCitation::InsetCitation(Buffer * buf, InsetCommandParams const & p)
|
||||
InsetCitation::~InsetCitation()
|
||||
{
|
||||
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().removeBiblioTempFiles();
|
||||
}
|
||||
|
||||
|
@ -198,7 +198,7 @@ InsetInclude::InsetInclude(InsetInclude const & other)
|
||||
InsetInclude::~InsetInclude()
|
||||
{
|
||||
if (isBufferLoaded())
|
||||
/* Coverity believs that this may throw an exception, but
|
||||
/* 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();
|
||||
|
Loading…
Reference in New Issue
Block a user