diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-08-04 17:09:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-08-04 17:17:38 +0100 |
commit | f7c59aaa078576a413846b7c8024e728818ca2be (patch) | |
tree | d7de69656731e394c27de5e0c2f907141175405e | |
parent | 3b39ff8b4e71928e7f33452322522dea49aee1e4 (diff) |
coverity#1416133 Unchecked dynamic_cast
Change-Id: I6706e3f889c8c00bdc4bda56fe5f282472589a40
-rw-r--r-- | sw/source/core/doc/CntntIdxStore.cxx | 2 |
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(); } } |