From 0019eac5e5c1e0a9f0a216da7ce56eb5bfff886b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 8 Feb 2019 13:16:19 +0200 Subject: loplugin:indentation in forms..fpicker Change-Id: If01379c43519cc1dbcf8dfaefde545fbe7e24fc2 Reviewed-on: https://gerrit.libreoffice.org/67556 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/component/FormComponent.cxx | 2 +- forms/source/component/FormattedField.cxx | 4 ++-- forms/source/component/ImageControl.cxx | 2 +- forms/source/misc/InterfaceContainer.cxx | 10 +++++----- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'forms') diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 1ab76f31f8ef..87bfa6c13bc8 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -1307,7 +1307,7 @@ void OBoundControlModel::suspendValueListening( ) OSL_PRECOND( !m_sValuePropertyName.isEmpty(), "OBoundControlModel::suspendValueListening: don't have a value property!" ); OSL_PRECOND( m_pAggPropMultiplexer, "OBoundControlModel::suspendValueListening: I *am* not listening!" ); -if ( m_pAggPropMultiplexer ) + if ( m_pAggPropMultiplexer ) m_pAggPropMultiplexer->lock(); } diff --git a/forms/source/component/FormattedField.cxx b/forms/source/component/FormattedField.cxx index 4d66ec70ad9d..171387dbc026 100644 --- a/forms/source/component/FormattedField.cxx +++ b/forms/source/component/FormattedField.cxx @@ -627,8 +627,8 @@ void OFormattedModel::write(const Reference& _rxOutStream) // Bring my Format (may be void) to a persistent Format. // The Supplier together with the Key is already persistent, but that doesn't mean // we have to save the Supplier (which would be quite some overhead) - Reference xSupplier; - Any aFmtKey; + Reference xSupplier; + Any aFmtKey; bool bVoidKey = true; if (m_xAggregateSet.is()) { diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx index d232a9129310..6bfb2d3b829f 100644 --- a/forms/source/component/ImageControl.cxx +++ b/forms/source/component/ImageControl.cxx @@ -817,7 +817,7 @@ bool OImageControlControl::implInsertGraphics() { Graphic aGraphic; aDialog.GetGraphic( aGraphic ); - xSet->setPropertyValue( PROPERTY_GRAPHIC, makeAny( aGraphic.GetXGraphic() ) ); + xSet->setPropertyValue( PROPERTY_GRAPHIC, makeAny( aGraphic.GetXGraphic() ) ); } else xSet->setPropertyValue( PROPERTY_IMAGE_URL, makeAny( aDialog.GetPath() ) ); diff --git a/forms/source/misc/InterfaceContainer.cxx b/forms/source/misc/InterfaceContainer.cxx index 2f2a9bf13636..eefe6b5dc552 100644 --- a/forms/source/misc/InterfaceContainer.cxx +++ b/forms/source/misc/InterfaceContainer.cxx @@ -1196,10 +1196,10 @@ Sequence< ScriptEventDescriptor > SAL_CALL OInterfaceContainer::getScriptEvents( if ( m_xEventAttacher.is() ) { aReturn = m_xEventAttacher->getScriptEvents( nIndex ); - if ( lcl_hasVbaEvents( aReturn ) ) - { - aReturn = lcl_stripVbaEvents( aReturn ); - } + if ( lcl_hasVbaEvents( aReturn ) ) + { + aReturn = lcl_stripVbaEvents( aReturn ); + } } return aReturn; } @@ -1287,7 +1287,7 @@ OFormComponents::~OFormComponents() void OFormComponents::disposing() { OInterfaceContainer::disposing(); - ::cppu::OComponentHelper::disposing(); + ::cppu::OComponentHelper::disposing(); m_xParent = nullptr; } -- cgit