sw/source/ui/app/apphdl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 254eb9593c9bc4e94f96602e3972d18d6965732b Author: Julien Nabet <serval2...@yahoo.fr> Date: Mon Mar 25 23:53:41 2013 +0100 coverity#704371 Logically dead code Change-Id: I0287ee3f7f58869d11c8565f8a6fbe9dcc534ba7 diff --git a/sw/source/ui/app/apphdl.cxx b/sw/source/ui/app/apphdl.cxx index d9b62fc..c456d72 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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits