commit d9082639080b9de993742bd352f92e5183058cf5
Author: Richard Kimberly Heck <[email protected]>
Date: Sat Jan 9 19:02:19 2021 -0500
nullptr
---
src/insets/Inset.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/insets/Inset.cpp b/src/insets/Inset.cpp
index 45eae99..cb10fa5 100644
--- a/src/insets/Inset.cpp
+++ b/src/insets/Inset.cpp
@@ -317,7 +317,7 @@ docstring insetDisplayName(InsetCode c)
void Inset::dispatch(Cursor & cur, FuncRequest & cmd)
{
- if (buffer_ == 0) {
+ if (buffer_ == nullptr) {
lyxerr << "Unassigned buffer_ member in Inset::dispatch()" <<
std::endl;
lyxerr << "LyX Code: " << lyxCode() << " name: "
<< insetName(lyxCode()) << std::endl;
@@ -632,8 +632,8 @@ Buffer const * Inset::updateFrontend() const
// are in the CutAndPaste stack. See InsetGraphics, RenderGraphics and
// RenderPreview.
if (!buffer_)
- return 0;
- return theApp() ? theApp()->updateInset(this) : 0;
+ return nullptr;
+ return theApp() ? theApp()->updateInset(this) : nullptr;
}
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs