summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unotext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unotext.cxx')
-rw-r--r--sw/source/core/unocore/unotext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx
index 8b53738200d5..58ad2066761e 100644
--- a/sw/source/core/unocore/unotext.cxx
+++ b/sw/source/core/unocore/unotext.cxx
@@ -2630,7 +2630,7 @@ void SwXHeadFootText::Impl::Modify( const SfxPoolItem *pOld, const SfxPoolItem *
bool SwXHeadFootText::IsXHeadFootText(SwClient *const pClient)
{
- return 0 != dynamic_cast<SwXHeadFootText::Impl*>(pClient);
+ return dynamic_cast<SwXHeadFootText::Impl*>(pClient) != nullptr;
}
uno::Reference< text::XText >