diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-13 20:58:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-13 22:38:35 +0100 |
commit | 8d4088c23b83de1a418014ea5957a0dc3efed7e4 (patch) | |
tree | fe15f0f6c00b9755a5b55363d8ca013b412ee88f /sd | |
parent | c458fbad3ed7d5cdea6b2f1c28d98ecec2d3b10e (diff) |
coverity#1326204 Unchecked dynamic_cast
Change-Id: I39c942e2ce35283761e3b8daa1ae41986a170ca8
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/ViewShellBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index 26aa8fae8fca..3f8c2c35b9a1 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -689,7 +689,7 @@ void ViewShellBase::ReadUserDataSequence ( case ViewShell::ST_HANDOUT: { OUString sViewURL; - switch (dynamic_cast<DrawViewShell*>( pShell)->GetPageKind() ) + switch (dynamic_cast<DrawViewShell&>(*pShell).GetPageKind()) { default: case PK_STANDARD: |