diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-14 16:40:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-15 08:37:34 +0200 |
commit | 897493fbd34a1bd10320767b48cbf04d422f89b3 (patch) | |
tree | 6d35dd000343e533cf6b3eef2f816533bea4b048 /unotools | |
parent | 7facde27194b866e589eada3f5657b0b5c69efb0 (diff) |
loplugin:sequentialassign in ucb..vbahelper
Change-Id: I0fff9ee06225d4ff2e9c0611b1b11f1d3b896be2
Reviewed-on: https://gerrit.libreoffice.org/70733
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/compatibility.cxx | 3 | ||||
-rw-r--r-- | unotools/source/config/optionsdlg.cxx | 3 | ||||
-rw-r--r-- | unotools/source/ucbhelper/ucblockbytes.cxx | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx index 469a944b9e8f..358decc82041 100644 --- a/unotools/source/config/compatibility.cxx +++ b/unotools/source/config/compatibility.cxx @@ -298,8 +298,7 @@ Sequence< OUString > SvtCompatibilityOptions_Impl::impl_GetPropertyNames( Sequen // Copy entries to destination and expand every item with 2 supported sub properties. for ( sal_Int32 nSourceStep = 0; nSourceStep < nSourceCount; ++nSourceStep ) { - OUString sFixPath; - sFixPath = SETNODE_ALLFILEFORMATS; + OUString sFixPath = SETNODE_ALLFILEFORMATS; sFixPath += PATHDELIMITER; sFixPath += rItems[ nSourceStep ]; sFixPath += PATHDELIMITER; diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx index ec251ec8b3a0..93cfe5d1a0bc 100644 --- a/unotools/source/config/optionsdlg.cxx +++ b/unotools/source/config/optionsdlg.cxx @@ -137,8 +137,7 @@ void SvtOptionsDlgOptions_Impl::ReadNode( const OUString& _rNode, NodeType _eTyp if ( _eType != NT_Option ) lResult[1] = sNode + sSet; - Sequence< Any > aValues; - aValues = GetProperties( lResult ); + Sequence< Any > aValues = GetProperties( lResult ); bool bHide = false; if ( aValues[0] >>= bHide ) m_aOptionNodeList.emplace( sNode, bHide ); diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx b/unotools/source/ucbhelper/ucblockbytes.cxx index 61e02c87072e..40b42ad1538b 100644 --- a/unotools/source/ucbhelper/ucblockbytes.cxx +++ b/unotools/source/ucbhelper/ucblockbytes.cxx @@ -682,9 +682,8 @@ static bool UCBOpenContentSync( sal_uInt32 nTimeout(5000); // initially 5000 milliSec while(!bResultAchieved) { - Moderator::Result res; // try to get the result for with timeout - res = pMod->getResult(nTimeout); + Moderator::Result res = pMod->getResult(nTimeout); switch(res.type) { case Moderator::ResultType::STREAM: |