summaryrefslogtreecommitdiff
path: root/ucb/source/core/ucbstore.cxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-02 13:38:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-04 14:06:14 +0200
commit27f1827afa11ba9c5d912614dc84dd308ecf8b5f (patch)
tree1c1970f9f2d2eacc2c57ccd0fb1b7e8687652241 /ucb/source/core/ucbstore.cxx
parent2a338d521618333a0630a31b46fd0fc9decbe0e5 (diff)
loplugin:reducevarscope in toolkit..unotools
Change-Id: I439b9f456ac0bfaa3eb9bf17472053bd4787e828 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103840 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/core/ucbstore.cxx')
-rw-r--r--ucb/source/core/ucbstore.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx
index 3274c777fdc5..1ee882ff18d4 100644
--- a/ucb/source/core/ucbstore.cxx
+++ b/ucb/source/core/ucbstore.cxx
@@ -1553,15 +1553,12 @@ void SAL_CALL PersistentPropertySet::removeProperty( const OUString& Name )
{
osl::Guard< osl::Mutex > aGuard( m_pImpl->m_aMutex );
- OUString aFullValuesName;
- OUString aFullPropName;
-
Reference< XHierarchicalNameAccess > xRootHierNameAccess(
m_pImpl->m_pCreator->getRootConfigReadAccess(), UNO_QUERY );
if ( xRootHierNameAccess.is() )
{
- aFullValuesName = getFullKey();
- aFullPropName = aFullValuesName + "/";
+ OUString aFullValuesName = getFullKey();
+ OUString aFullPropName = aFullValuesName + "/";
aFullPropName += makeHierarchalNameSegment( Name );
// Property in set?