diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-09 16:06:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-09 17:13:41 +0000 |
commit | 506e8ad83a706cf725910c4734ac7ad2626af95a (patch) | |
tree | d647735d57346e20f65c99f16da7bac3f83493d6 /sw | |
parent | 327010784c4ea3d8ead3eb7053c7d293e3b13afd (diff) |
coverity#1169819 Unchecked dynamic_cast
Change-Id: I8db30306719ea297f312453d81601983e708ad33
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/docnode/ndtbl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx index 0d08fab3db01..406e368c8894 100644 --- a/sw/source/core/docnode/ndtbl.cxx +++ b/sw/source/core/docnode/ndtbl.cxx @@ -4438,7 +4438,7 @@ sal_Bool SwDoc::UnProtectCells( const SwSelBoxes& rBoxes ) else { SwTableBoxFmt *const pNewBoxFmt( - dynamic_cast<SwTableBoxFmt*>(pBox->ClaimFrmFmt())); + static_cast<SwTableBoxFmt*>(pBox->ClaimFrmFmt())); pNewBoxFmt->ResetFmtAttr( RES_PROTECT ); aFmtsMap.insert(std::make_pair(pBoxFmt, pNewBoxFmt)); } |