summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/tox/ToxTextGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx
index 89a45c9f7d01..7b43312870db 100644
--- a/sw/source/core/tox/ToxTextGenerator.cxx
+++ b/sw/source/core/tox/ToxTextGenerator.cxx
@@ -52,7 +52,7 @@ bool sortTabHasNoToxSourcesOrFirstToxSourceHasNoNode(const SwTOXSortTabBase& sor
if (sortTab.aTOXSources.empty()) {
return true;
}
- if (sortTab.aTOXSources.at(0).pNd != NULL) {
+ if (sortTab.aTOXSources.at(0).pNd == nullptr) {
return true;
}
return false;
@@ -70,7 +70,7 @@ ToxTextGenerator::GetNumStringOfFirstNode( const SwTOXSortTabBase& rBase, bool b
}
OUString sRet;
- if (!rBase.pTxtMark) { // only if it's not a Mark
+ if (rBase.pTxtMark) { // only if it's not a Mark
return sRet;
}