commit f53243f81b31b65e336c8f04e845d38d447177d4
Author: Richard Kimberly Heck <[email protected]>
Date: Fri Feb 28 00:10:23 2020 -0500
Fix warnings
---
src/frontends/qt/Dialog.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/frontends/qt/Dialog.cpp b/src/frontends/qt/Dialog.cpp
index 2369738..4dbc2d4 100644
--- a/src/frontends/qt/Dialog.cpp
+++ b/src/frontends/qt/Dialog.cpp
@@ -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)
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs