summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-11 12:54:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-12 10:06:05 +0100
commitce83d1f448ae28f30c98a607a83ff3e012538d36 (patch)
treebfe3ace12a98eecf3e23e2cb6015e811c7efeaab /desktop
parent14d1f276b488b0a7cad107e3fb9612d96d4e764d (diff)
use preferred variant when window arg is null
Change-Id: I8fad194b6f147b40ecee6fff9fbbe947e7faa014 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112345 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index b6bc634757e9..90a98d0506b0 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -1936,7 +1936,7 @@ void Desktop::OpenClients()
#elif defined _WIN32
aHelpURL += "&System=WIN";
#endif
- Application::GetHelp()->Start(aHelpURL, static_cast<const vcl::Window*>(nullptr));
+ Application::GetHelp()->Start(aHelpURL);
return;
}
}
@@ -2292,7 +2292,7 @@ void Desktop::HandleAppEvent( const ApplicationEvent& rAppEvent )
break;
case ApplicationEvent::Type::OpenHelpUrl:
// start help for a specific URL
- Application::GetHelp()->Start(rAppEvent.GetStringData(), static_cast<vcl::Window*>(nullptr));
+ Application::GetHelp()->Start(rAppEvent.GetStringData());
break;
case ApplicationEvent::Type::Print:
{