summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-04-14 09:33:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-04-17 16:49:38 +0200
commit988e2827319fa2fe04bb818880c1f381bd08a314 (patch)
treee69666af2902daa2fe46d946971e3bd48b547af1 /sfx2
parent7852fdc1ae87434e06bbbfd05a349c4624fbfd50 (diff)
loplugin:constantparam
Change-Id: I1d518bef47c838d03d8526a6a8fffd36d2ee68d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114074 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/sfxhelp.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/appl/sfxhelp.cxx b/sfx2/source/appl/sfxhelp.cxx
index 38b6327ffa92..340b8c437d7d 100644
--- a/sfx2/source/appl/sfxhelp.cxx
+++ b/sfx2/source/appl/sfxhelp.cxx
@@ -695,7 +695,7 @@ bool SfxHelp::Start( const OUString& rURL, const vcl::Window* pWindow )
if (bLaunchingHelp)
return true;
bLaunchingHelp = true;
- bool bRet = Start_Impl( rURL, pWindow, OUString() );
+ bool bRet = Start_Impl( rURL, pWindow );
bLaunchingHelp = false;
return bRet;
}
@@ -1031,7 +1031,7 @@ public:
}
-bool SfxHelp::Start_Impl(const OUString& rURL, const vcl::Window* pWindow, const OUString& rKeyword)
+bool SfxHelp::Start_Impl(const OUString& rURL, const vcl::Window* pWindow)
{
OUStringBuffer aHelpRootURL("vnd.sun.star.help://");
AppendConfigToken(aHelpRootURL, true);
@@ -1199,8 +1199,6 @@ bool SfxHelp::Start_Impl(const OUString& rURL, const vcl::Window* pWindow, const
pHelpWindow->SetHelpURL( aHelpURL );
pHelpWindow->loadHelpContent(aHelpURL);
- if (!rKeyword.isEmpty())
- pHelpWindow->OpenKeyword( rKeyword );
Reference < css::awt::XTopWindow > xTopWindow( xHelp->getContainerWindow(), UNO_QUERY );
if ( xTopWindow.is() )