diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-08 20:58:40 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-08 20:58:40 +0000 |
commit | f4e984edfa2f72d36f8e8db4de0d8ba49639b034 (patch) | |
tree | fe3f52f2022f4e358e5337fb9fd783fb27717c0c /svx/source/svdraw/svdouno.cxx | |
parent | e6242ef5bf398cb598b5eeac1141576e87b0baf3 (diff) |
coverity#1169810 Logically dead code
Change-Id: I565b3fc948c66a7b8e9815cf746714f9a2a70267
Diffstat (limited to 'svx/source/svdraw/svdouno.cxx')
-rw-r--r-- | svx/source/svdraw/svdouno.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx index 4a683c72b654..9a34dea3e04f 100644 --- a/svx/source/svdraw/svdouno.cxx +++ b/svx/source/svdraw/svdouno.cxx @@ -544,7 +544,7 @@ uno::Reference< awt::XControl > SdrUnoObj::GetUnoControl(const SdrView& _rView, if ( !pPageView || GetPage() != pPageView->GetPage() ) return NULL; - SdrPageWindow* pPageWindow = pPageView ? pPageView->FindPageWindow( _rOut ) : NULL; + SdrPageWindow* pPageWindow = pPageView->FindPageWindow( _rOut ); OSL_ENSURE( pPageWindow, "SdrUnoObj::GetUnoControl: did not find my SdrPageWindow!" ); if ( !pPageWindow ) return NULL; |