sd/source/ui/view/sdwindow.cxx |    7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 61778fd20395794d2de3b52d60dcc65083aecd93
Author:     Mike Kaganski <[email protected]>
AuthorDate: Mon Jan 14 06:44:26 2019 +0100
Commit:     Mike Kaganski <[email protected]>
CommitDate: Mon Jan 14 07:41:51 2019 +0100

    Simplify sd::Window::RequestHelp
    
    Change-Id: I0d42c5a3133d97464d105a1ff29772c1b63a3a69
    Reviewed-on: https://gerrit.libreoffice.org/66282
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/sd/source/ui/view/sdwindow.cxx b/sd/source/ui/view/sdwindow.cxx
index f295d00cf4d1..227291d4de41 100644
--- a/sd/source/ui/view/sdwindow.cxx
+++ b/sd/source/ui/view/sdwindow.cxx
@@ -280,12 +280,7 @@ bool Window::EventNotify( NotifyEvent& rNEvt )
 
 void Window::RequestHelp(const HelpEvent& rEvt)
 {
-    if ( mpViewShell )
-    {
-        if( !mpViewShell->RequestHelp( rEvt ) )
-            vcl::Window::RequestHelp( rEvt );
-    }
-    else
+    if (!mpViewShell || !mpViewShell->RequestHelp(rEvt))
         vcl::Window::RequestHelp( rEvt );
 }
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to