diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:13:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:16:15 +0100 |
commit | a58f6d2744fde88f2034987208124e5b2505c641 (patch) | |
tree | 167d94743e2854bae544e9a09b59b0fb47b5e3ee /cppuhelper/source/propshlp.cxx | |
parent | 43635b474cdce65e64fa9ca9d27a3cee6d96d50b (diff) |
loplugin:indentation in cppu..cui
Change-Id: If625e5bf38ca8e1f12686038c7c9be8d0303b6f6
Reviewed-on: https://gerrit.libreoffice.org/67536
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper/source/propshlp.cxx')
-rw-r--r-- | cppuhelper/source/propshlp.cxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx index 1a54edffe40e..a7a0f93a396a 100644 --- a/cppuhelper/source/propshlp.cxx +++ b/cppuhelper/source/propshlp.cxx @@ -804,15 +804,15 @@ void OPropertySetHelper::setFastPropertyValues( OSL_ENSURE( !rBHelper.bInDispose, "do not getFastPropertyValue in the dispose call" ); OSL_ENSURE( !rBHelper.bDisposed, "object is disposed" ); - // get the map table - IPropertyArrayHelper & rPH = getInfoHelper(); + // get the map table + IPropertyArrayHelper & rPH = getInfoHelper(); - std::unique_ptr<Any[]> pConvertedValues(new Any[ nHitCount ]); - std::unique_ptr<Any[]> pOldValues(new Any[ nHitCount ]); - sal_Int32 n = 0; - sal_Int32 i; + std::unique_ptr<Any[]> pConvertedValues(new Any[ nHitCount ]); + std::unique_ptr<Any[]> pOldValues(new Any[ nHitCount ]); + sal_Int32 n = 0; + sal_Int32 i; - { + { // must lock the mutex outside the loop. So all values are consistent. MutexGuard aGuard( rBHelper.rMutex ); for( i = 0; i < nSeqLen; i++ ) @@ -835,12 +835,12 @@ void OPropertySetHelper::setFastPropertyValues( } } // release guard to fire events - } + } - // fire vetoable events - fire( pHandles, pConvertedValues.get(), pOldValues.get(), n, true ); + // fire vetoable events + fire( pHandles, pConvertedValues.get(), pOldValues.get(), n, true ); - { + { // must lock the mutex outside the loop. MutexGuard aGuard( rBHelper.rMutex ); // Loop over all changed properties @@ -850,10 +850,10 @@ void OPropertySetHelper::setFastPropertyValues( setFastPropertyValue_NoBroadcast( pHandles[i], pConvertedValues[i] ); } // release guard to fire events - } + } - // fire change events - impl_fireAll( pHandles, pConvertedValues.get(), pOldValues.get(), n ); + // fire change events + impl_fireAll( pHandles, pConvertedValues.get(), pOldValues.get(), n ); } // XMultiPropertySet |