diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-03-25 23:53:41 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-03-25 23:53:50 +0100 |
commit | 254eb9593c9bc4e94f96602e3972d18d6965732b (patch) | |
tree | 3174ac026fa0122d40c9aabb154dc0e75a5cd65f /sw | |
parent | Export current Writer page as jpg/png (diff) | |
download | core-254eb9593c9bc4e94f96602e3972d18d6965732b.tar.gz core-254eb9593c9bc4e94f96602e3972d18d6965732b.zip |
coverity#704371 Logically dead code
Change-Id: I0287ee3f7f58869d11c8565f8a6fbe9dcc534ba7
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/app/apphdl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/app/apphdl.cxx b/sw/source/ui/app/apphdl.cxx index d9b62fc3342c..c456d72e2c6c 100644 --- a/sw/source/ui/app/apphdl.cxx +++ b/sw/source/ui/app/apphdl.cxx @@ -652,7 +652,7 @@ void SwModule::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint ) SwDocShell* pDocSh = PTR_CAST( SwDocShell, rEvHint.GetObjShell() ); if( pDocSh ) { - SwWrtShell* pWrtSh = pDocSh ? pDocSh->GetWrtShell() : 0; + SwWrtShell* pWrtSh = pDocSh->GetWrtShell(); switch( rEvHint.GetEventId() ) { case SFX_EVENT_LOADFINISHED: |