diff options
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: |