summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-08-04 17:09:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-08-04 17:17:38 +0100
commitf7c59aaa078576a413846b7c8024e728818ca2be (patch)
treed7de69656731e394c27de5e0c2f907141175405e
parent3b39ff8b4e71928e7f33452322522dea49aee1e4 (diff)
coverity#1416133 Unchecked dynamic_cast
Change-Id: I6706e3f889c8c00bdc4bda56fe5f282472589a40
-rw-r--r--sw/source/core/doc/CntntIdxStore.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/CntntIdxStore.cxx b/sw/source/core/doc/CntntIdxStore.cxx
index 1ba139572d2d..f164af01569f 100644
--- a/sw/source/core/doc/CntntIdxStore.cxx
+++ b/sw/source/core/doc/CntntIdxStore.cxx
@@ -269,7 +269,7 @@ void ContentIdxStoreImpl::RestoreBkmks(SwDoc* pDoc, updater_t const & rUpdater)
if (!m_aBkmkEntries.empty())
{ // tdf#105705 sort bookmarks because SaveBkmks special handling of
// "bMarkPosEqual" may destroy sort order
- dynamic_cast<sw::mark::MarkManager*>(pMarkAccess)->sortMarks();
+ dynamic_cast<sw::mark::MarkManager&>(*pMarkAccess).sortMarks();
}
}