diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-04 20:17:29 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-11-05 13:27:46 +0100 |
commit | 6d1aafca5d13fa08371a3ff161d12c0f1213555c (patch) | |
tree | 393a583cc919b9d2af7a0849fc151629321466f4 /sfx2 | |
parent | e07253e0262a11dc96a98598c55c43da16b9678a (diff) |
tdf#120703 PVS: V547 Expression is always true/false
Change-Id: If748a205b328a23473152872c6d0ed87d0570cc1
Reviewed-on: https://gerrit.libreoffice.org/62857
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 7f52b252ea8a..d372b47298e5 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -3065,10 +3065,8 @@ void SfxHelpWindow_Impl::DoAction( sal_uInt16 nActionId ) aURL.Complete = ".uno:SourceView"; else if ( TBI_COPY == nActionId ) aURL.Complete = ".uno:Copy"; - else if ( TBI_SELECTIONMODE == nActionId ) + else // TBI_SELECTIONMODE == nActionId aURL.Complete = ".uno:SelectTextMode"; - else - aURL.Complete = ".uno:SearchDialog"; Reference< util::XURLTransformer > xTrans( util::URLTransformer::create( ::comphelper::getProcessComponentContext() ) ); xTrans->parseStrict(aURL); Reference < XDispatch > xDisp = xProv->queryDispatch( aURL, OUString(), 0 ); |