diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 10:34:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 11:11:02 +0000 |
commit | 8af6c125226b55af21efd60edc6ed59a9214fa8c (patch) | |
tree | 34411f00860caaa1e9bbc506de0f7acf0d59cc30 /sd | |
parent | c7949a9451597b3bc9e39deb2254183eda13b351 (diff) |
coverity#1265801 Dereference null return value
Change-Id: I7ac111ad66dd51d13df866bac4396cdb2aecb27e
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews6.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviews6.cxx b/sd/source/ui/view/drviews6.cxx index d35ddefd646f..31c9f08a6831 100644 --- a/sd/source/ui/view/drviews6.cxx +++ b/sd/source/ui/view/drviews6.cxx @@ -156,8 +156,7 @@ void DrawViewShell::ExecAnimationWin( SfxRequest& rReq ) SfxChildWindow* pWnd = GetViewFrame()->GetChildWindow(nId); - pAnimWin = pWnd ? static_cast<AnimationWindow*>( - GetViewFrame()->GetChildWindow(nId)->GetWindow()) : NULL; + pAnimWin = pWnd ? static_cast<AnimationWindow*>(pWnd->GetWindow()) : NULL; if ( pAnimWin ) { |