summaryrefslogtreecommitdiffstats
path: root/src/object/sp-string.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/object/sp-string.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/sp-string.cpp b/src/object/sp-string.cpp
index df57a5a80..a01b05e8f 100644
--- a/src/object/sp-string.cpp
+++ b/src/object/sp-string.cpp
@@ -139,7 +139,7 @@ void SPString::read_content() {
}
break;
default:
- if( white_space && (!string.empty() || (getPrev() != NULL))) {
+ if( white_space && (!string.empty() || (getPrev() != nullptr))) {
string += ' ';
}
string += c;
@@ -149,7 +149,7 @@ void SPString::read_content() {
} // End loop
// Insert white space at end if more text follows
- if (white_space && getRepr()->next() != NULL) { // can't use SPObject::getNext() when the SPObject tree is still being built
+ if (white_space && getRepr()->next() != nullptr) { // can't use SPObject::getNext() when the SPObject tree is still being built
string += ' ';
}