summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2019-07-07 12:43:38 +0200
committerAndre Hartmann <aha_1980@gmx.de>2019-07-08 21:20:06 +0200
commita776d6ec5bd209ece087c446afb6b31eb2c40b26 (patch)
tree02b57ae8621e6e20ab0cd1c43474f58e89e8faac /src/gui/text
parente96cea51da99629b33036e4b06738316a7ca4682 (diff)
QTextObject: One more 0 to nullptr conversion
Change-Id: I61446afa882304400d3ae8045e4f17bb7a020600 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qtextobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextobject.cpp b/src/gui/text/qtextobject.cpp
index 547b21c02e..40960c910e 100644
--- a/src/gui/text/qtextobject.cpp
+++ b/src/gui/text/qtextobject.cpp
@@ -1322,7 +1322,7 @@ QTextList *QTextBlock::textList() const
QTextBlockUserData *QTextBlock::userData() const
{
if (!p || !n)
- return 0;
+ return nullptr;
const QTextBlockData *b = p->blockMap().fragment(n);
return b->userData;