Kaydet (Commit) 61778fd2 authored tarafından Mike Kaganski's avatar Mike Kaganski

Simplify sd::Window::RequestHelp

Change-Id: I0d42c5a3133d97464d105a1ff29772c1b63a3a69
Reviewed-on: https://gerrit.libreoffice.org/66282
Tested-by: Jenkins
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 101c8679
...@@ -280,12 +280,7 @@ bool Window::EventNotify( NotifyEvent& rNEvt ) ...@@ -280,12 +280,7 @@ bool Window::EventNotify( NotifyEvent& rNEvt )
void Window::RequestHelp(const HelpEvent& rEvt) void Window::RequestHelp(const HelpEvent& rEvt)
{ {
if ( mpViewShell ) if (!mpViewShell || !mpViewShell->RequestHelp(rEvt))
{
if( !mpViewShell->RequestHelp( rEvt ) )
vcl::Window::RequestHelp( rEvt );
}
else
vcl::Window::RequestHelp( rEvt ); vcl::Window::RequestHelp( rEvt );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment