summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-02-08 13:16:19 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-02-09 17:07:19 +0100
commit0019eac5e5c1e0a9f0a216da7ce56eb5bfff886b (patch)
tree0f9e96cc3e549a6e228d58215b183ab987c1a274 /forms
parent9eed3b4a1830250cb686e386cbcbe68da0e7cb02 (diff)
loplugin:indentation in forms..fpicker
Change-Id: If01379c43519cc1dbcf8dfaefde545fbe7e24fc2 Reviewed-on: https://gerrit.libreoffice.org/67556 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/FormComponent.cxx2
-rw-r--r--forms/source/component/FormattedField.cxx4
-rw-r--r--forms/source/component/ImageControl.cxx2
-rw-r--r--forms/source/misc/InterfaceContainer.cxx10
4 files changed, 9 insertions, 9 deletions
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<XObjectOutputStream>& _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<XNumberFormatsSupplier> xSupplier;
- Any aFmtKey;
+ Reference<XNumberFormatsSupplier> 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;
}