diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-22 10:21:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-28 10:47:34 +0200 |
commit | bfc1600c6ade6f006eb774bffe7caa9c948e8603 (patch) | |
tree | c660fa18fc6a9e5f05c3cc58fa34411cdc4f4257 /toolkit | |
parent | f9514beb9bfed51aee69227797e74504afed31c6 (diff) |
loplugin:indentation improve checks for brace alignment
Change-Id: I333100fda7e181f68f36b03279b3fbb8cb768310
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117615
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 4 | ||||
-rw-r--r-- | toolkit/source/controls/unocontrolmodel.cxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index ce81e68fdd2e..0277ec36a780 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -5604,7 +5604,7 @@ void VCLXNumericField::setDecimalDigits( sal_Int16 Value ) double n = getValue(); pNumericFormatter->SetDecimalDigits( Value ); setValue( n ); - } + } } sal_Int16 VCLXNumericField::getDecimalDigits() diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index f36dcee2f0ef..c18f15f16495 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -514,7 +514,7 @@ void ControlModelContainerBase::insertByName( const OUString& aName, const Any& { Reference< beans::XPropertySet > xProps( xM, UNO_QUERY ); if ( xProps.is() ) - { + { Reference< beans::XPropertySetInfo > xPropInfo = xProps->getPropertySetInfo(); @@ -530,7 +530,7 @@ void ControlModelContainerBase::insertByName( const OUString& aName, const Any& xProps->setPropertyValue( sImageSourceProperty , aUrl ); } - } + } } diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx index fb6448366978..8adb0f7a2f3a 100644 --- a/toolkit/source/controls/unocontrolmodel.cxx +++ b/toolkit/source/controls/unocontrolmodel.cxx @@ -1277,7 +1277,7 @@ void UnoControlModel::setFastPropertyValue( sal_Int32 nPropId, const css::uno::A aGuard.clear(); setFastPropertyValues( 1, &nDescriptorId, &aNewValue, 1 ); fire( &nPropId, &aNewSingleValue, &aOldSingleValue, 1, false ); - } + } else setFastPropertyValues( 1, &nPropId, &rValue, 1 ); } |