diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-06 14:46:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-06 14:55:24 +0100 |
commit | b6a927b93c25503f5c8ae2f69a0c2f5b575b4c0f (patch) | |
tree | df30a304d99395434fa995a3d1efcdd20f82fc8b /sw/inc/docary.hxx | |
parent | df0c18b4787edff7dd9e63582d2b7ba304fb8f7f (diff) |
coverity#1405890 Unchecked dynamic_cast
Change-Id: Ib17e612d8d9b9e9fb712f3fdb4dba24d583a6dba
Diffstat (limited to 'sw/inc/docary.hxx')
-rw-r--r-- | sw/inc/docary.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx index a63bb34cc307..de663f105075 100644 --- a/sw/inc/docary.hxx +++ b/sw/inc/docary.hxx @@ -260,7 +260,7 @@ public: /// fast check if given format is contained here /// @precond pFormat must not have been deleted - bool ContainsFormat(SwFrameFormat const* pFormat) const; + bool ContainsFormat(SwFrameFormat const& rFormat) const; /// not so fast check that given format is still alive (i.e. contained here) bool IsAlive(SwFrameFormat const*) const; |