diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-02 09:36:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-02 10:46:46 +0200 |
commit | 268a49f473c1830be269a7db5f561e3681134bbd (patch) | |
tree | 259debcc224b3f211125ca6615b4fc25b2dcdeb2 /desktop/source/deployment/registry | |
parent | a282c9700806bc17710e8b2186b306d2a90928ee (diff) |
loplugin:reducevarscope in desktop..emfio
Change-Id: I25ca760ae15114ada621d928997a7117401c75d1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103811
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/deployment/registry')
-rw-r--r-- | desktop/source/deployment/registry/help/dp_help.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/deployment/registry/help/dp_help.cxx b/desktop/source/deployment/registry/help/dp_help.cxx index 594196155db8..49be2a23f87d 100644 --- a/desktop/source/deployment/registry/help/dp_help.cxx +++ b/desktop/source/deployment/registry/help/dp_help.cxx @@ -507,9 +507,9 @@ void BackendImpl::implProcessHelp( sal_Unicode const nCR = 13, nLF = 10; sal_Int32 nSearchCR = aErrMsg.indexOf( nCR ); sal_Int32 nSearchLF = aErrMsg.indexOf( nLF ); - sal_Int32 nCopy; if( nSearchCR != -1 || nSearchLF != -1 ) { + sal_Int32 nCopy; if( nSearchCR == -1 ) nCopy = nSearchLF; else if( nSearchLF == -1 ) |