diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-08 13:45:56 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-08 13:49:04 +0000 |
commit | 9215ab03476f56f626f926702208f62b9bf2e16d (patch) | |
tree | 0b10e21c5545959b7dd9e50a7f61f5782519fb86 /sw | |
parent | 32e38e1ec703dcdcff484eae3634a69e0d9c864e (diff) |
coverity#1257107 Unchecked dynamic_cast
Change-Id: Ica45049aa7e6656c0882484ffa4ff80b6d699373
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/crsr/viscrs.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index bf8da341582a..80af294252ef 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -539,7 +539,7 @@ void SwShellCrsr::FillRects() void SwShellCrsr::Show() { for(SwPaM& rTmp : GetRingContainer()) - dynamic_cast<SwShellCrsr*>(&rTmp)->SwSelPaintRects::Show(); + dynamic_cast<SwShellCrsr&>(rTmp).SwSelPaintRects::Show(); } // This rectangle gets painted anew, therefore the SSelection in this |