summaryrefslogtreecommitdiff
path: root/sw/inc/lineinfo.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/lineinfo.hxx')
-rw-r--r--sw/inc/lineinfo.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/lineinfo.hxx b/sw/inc/lineinfo.hxx
index 68c5626caead..374c55bdc8d3 100644
--- a/sw/inc/lineinfo.hxx
+++ b/sw/inc/lineinfo.hxx
@@ -91,7 +91,7 @@ public:
bool IsRestartEachPage() const { return bRestartEachPage; }
void SetRestartEachPage( bool b ) { bRestartEachPage = b; }
- bool HasCharFormat() const { return GetRegisteredIn() != 0; }
+ bool HasCharFormat() const { return GetRegisteredIn() != nullptr; }
};
#endif