summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-08-03 15:04:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-08-03 15:12:13 +0100
commitd60b265d0e364a8c0581eca10d61faa6f29c9ef5 (patch)
tree25a90547eaa131d9b77b8fa7c292a71ee6516ea6
parent5c578d4f9764890644bf88270273d6d5703e8225 (diff)
coverity#1314995 Logically dead code
Change-Id: I3ff55ee78927f46e337d56eeebeaebec87b604be
-rw-r--r--sw/source/core/doc/DocumentLinksAdministrationManager.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentLinksAdministrationManager.cxx b/sw/source/core/doc/DocumentLinksAdministrationManager.cxx
index cb872c4f01c5..d838226b58e3 100644
--- a/sw/source/core/doc/DocumentLinksAdministrationManager.cxx
+++ b/sw/source/core/doc/DocumentLinksAdministrationManager.cxx
@@ -97,8 +97,6 @@ namespace
{
if (::sw::mark::DdeBookmark* const pBkmk = dynamic_cast< ::sw::mark::DdeBookmark*>(ppMark->get()))
{
- if (!pBkmk)
- return NULL;
if (
(bCaseSensitive && (pBkmk->GetName() == sNameLc)) ||
(!bCaseSensitive && GetAppCharClass().lowercase(pBkmk->GetName()) == sNameLc)