From 8d4088c23b83de1a418014ea5957a0dc3efed7e4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 13 Oct 2015 20:58:04 +0100 Subject: coverity#1326204 Unchecked dynamic_cast Change-Id: I39c942e2ce35283761e3b8daa1ae41986a170ca8 --- sd/source/ui/view/ViewShellBase.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') 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( pShell)->GetPageKind() ) + switch (dynamic_cast(*pShell).GetPageKind()) { default: case PK_STANDARD: -- cgit