diff options
Diffstat (limited to 'sc/source/ui/navipi/content.cxx')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index a1f9ba8d1dde..2cf0cec52da3 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -1135,10 +1135,7 @@ bool ScContentTree::NoteStringsChanged() pEntry = NextSibling(pEntry); } - if ( pEntry ) - return true; - - return false; + return pEntry != nullptr; } bool ScContentTree::DrawNamesChanged( ScContentId nType ) |