summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/editsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/editsh.cxx')
-rw-r--r--sw/source/core/edit/editsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx
index 02eb42df64a7..203235e3319d 100644
--- a/sw/source/core/edit/editsh.cxx
+++ b/sw/source/core/edit/editsh.cxx
@@ -118,7 +118,7 @@ void SwEditShell::Insert2(const OUString &rStr, const bool bForceExpandHints )
// calculate cursor bidi level
SwCursor* pTmpCrsr = _GetCrsr();
const bool bDoNotSetBidiLevel = ! pTmpCrsr ||
- ( 0 != dynamic_cast<SwUnoCrsr*>(pTmpCrsr) );
+ ( dynamic_cast<SwUnoCrsr*>(pTmpCrsr) != nullptr );
if ( ! bDoNotSetBidiLevel )
{