mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix warnings
This commit is contained in:
parent
78ade7e6ec
commit
f53243f81b
@ -81,7 +81,7 @@ void Dialog::disconnect() const
|
||||
|
||||
bool Dialog::isBufferAvailable() const
|
||||
{
|
||||
return lyxview_.currentBufferView() != 0;
|
||||
return lyxview_.currentBufferView() != nullptr;
|
||||
}
|
||||
|
||||
|
||||
@ -227,7 +227,7 @@ Inset const * Dialog::inset(InsetCode code) const
|
||||
// Check if next is of the type we look for
|
||||
if (next)
|
||||
if (next->lyxCode() != code)
|
||||
next = 0;
|
||||
next = nullptr;
|
||||
if (ins) {
|
||||
// prefer next if it is of the requested type (bug 8716)
|
||||
if (next)
|
||||
|
Loading…
Reference in New Issue
Block a user