diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-08 13:16:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-09 17:07:19 +0100 |
commit | 0019eac5e5c1e0a9f0a216da7ce56eb5bfff886b (patch) | |
tree | 0f9e96cc3e549a6e228d58215b183ab987c1a274 | |
parent | 9eed3b4a1830250cb686e386cbcbe68da0e7cb02 (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>
-rw-r--r-- | forms/source/component/FormComponent.cxx | 2 | ||||
-rw-r--r-- | forms/source/component/FormattedField.cxx | 4 | ||||
-rw-r--r-- | forms/source/component/ImageControl.cxx | 2 | ||||
-rw-r--r-- | forms/source/misc/InterfaceContainer.cxx | 10 | ||||
-rw-r--r-- | fpicker/source/office/OfficeFilePicker.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 6 |
7 files changed, 14 insertions, 14 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; } diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index a1a23de36db7..e5fc93325a0d 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -1016,7 +1016,7 @@ void SAL_CALL SvtFilePicker::initialize( const Sequence< Any >& _rArguments ) namedValue.Value >>= sStandardDir; // Set the directory for the "back to the default dir" button - if ( !sStandardDir.isEmpty() ) + if ( !sStandardDir.isEmpty() ) { m_aStandardDir = sStandardDir; } diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index d6184e0a2906..c20b7460282f 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -783,7 +783,7 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, AddServiceHdl, Button*, void ) m_bIsUpdated = true; EnableControls(); - break; + break; } case RET_CANCEL : default : diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 8048c46df294..8064dca1c8fe 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1258,7 +1258,7 @@ IMPL_LINK_NOARG( SvtFileDialog, ConnectToServerPressed_Hdl, Button*, void ) PlacePtr newPlace = aDlg.GetPlace(); pImpl->_pPlaces->AppendPlace(newPlace); - break; + break; } case RET_CANCEL : default : @@ -1373,7 +1373,7 @@ void SvtFileDialog::OpenMultiSelection_Impl() void SvtFileDialog::UpdateControls( const OUString& rURL ) { - pImpl->_pEdFileName->SetBaseURL( rURL ); + pImpl->_pEdFileName->SetBaseURL( rURL ); INetURLObject aObj( rURL ); @@ -1940,7 +1940,7 @@ bool SvtFileDialog::PrepareExecute() bool bFileToSelect = nFileNameLen != 0; if ( bFileToSelect && aFileName[ nFileNameLen - 1 ] != '/' ) { - OUString aDecodedName = aFolderURL.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset ); + OUString aDecodedName = aFolderURL.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset ); pImpl->_pEdFileName->SetText( aDecodedName ); aFolderURL.removeSegment(); } |