summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/ViewShellBase.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-13 20:58:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-10-13 22:38:35 +0100
commit8d4088c23b83de1a418014ea5957a0dc3efed7e4 (patch)
treefe15f0f6c00b9755a5b55363d8ca013b412ee88f /sd/source/ui/view/ViewShellBase.cxx
parentc458fbad3ed7d5cdea6b2f1c28d98ecec2d3b10e (diff)
coverity#1326204 Unchecked dynamic_cast
Change-Id: I39c942e2ce35283761e3b8daa1ae41986a170ca8
Diffstat (limited to 'sd/source/ui/view/ViewShellBase.cxx')
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx2
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: