Kaydet (Commit) 0019eac5 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:indentation in forms..fpicker

Change-Id: If01379c43519cc1dbcf8dfaefde545fbe7e24fc2
Reviewed-on: https://gerrit.libreoffice.org/67556
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 9eed3b4a
...@@ -1307,7 +1307,7 @@ void OBoundControlModel::suspendValueListening( ) ...@@ -1307,7 +1307,7 @@ void OBoundControlModel::suspendValueListening( )
OSL_PRECOND( !m_sValuePropertyName.isEmpty(), "OBoundControlModel::suspendValueListening: don't have a value property!" ); OSL_PRECOND( !m_sValuePropertyName.isEmpty(), "OBoundControlModel::suspendValueListening: don't have a value property!" );
OSL_PRECOND( m_pAggPropMultiplexer, "OBoundControlModel::suspendValueListening: I *am* not listening!" ); OSL_PRECOND( m_pAggPropMultiplexer, "OBoundControlModel::suspendValueListening: I *am* not listening!" );
if ( m_pAggPropMultiplexer ) if ( m_pAggPropMultiplexer )
m_pAggPropMultiplexer->lock(); m_pAggPropMultiplexer->lock();
} }
......
...@@ -627,8 +627,8 @@ void OFormattedModel::write(const Reference<XObjectOutputStream>& _rxOutStream) ...@@ -627,8 +627,8 @@ void OFormattedModel::write(const Reference<XObjectOutputStream>& _rxOutStream)
// Bring my Format (may be void) to a persistent Format. // Bring my Format (may be void) to a persistent Format.
// The Supplier together with the Key is already persistent, but that doesn't mean // 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) // we have to save the Supplier (which would be quite some overhead)
Reference<XNumberFormatsSupplier> xSupplier; Reference<XNumberFormatsSupplier> xSupplier;
Any aFmtKey; Any aFmtKey;
bool bVoidKey = true; bool bVoidKey = true;
if (m_xAggregateSet.is()) if (m_xAggregateSet.is())
{ {
......
...@@ -817,7 +817,7 @@ bool OImageControlControl::implInsertGraphics() ...@@ -817,7 +817,7 @@ bool OImageControlControl::implInsertGraphics()
{ {
Graphic aGraphic; Graphic aGraphic;
aDialog.GetGraphic( aGraphic ); aDialog.GetGraphic( aGraphic );
xSet->setPropertyValue( PROPERTY_GRAPHIC, makeAny( aGraphic.GetXGraphic() ) ); xSet->setPropertyValue( PROPERTY_GRAPHIC, makeAny( aGraphic.GetXGraphic() ) );
} }
else else
xSet->setPropertyValue( PROPERTY_IMAGE_URL, makeAny( aDialog.GetPath() ) ); xSet->setPropertyValue( PROPERTY_IMAGE_URL, makeAny( aDialog.GetPath() ) );
......
...@@ -1196,10 +1196,10 @@ Sequence< ScriptEventDescriptor > SAL_CALL OInterfaceContainer::getScriptEvents( ...@@ -1196,10 +1196,10 @@ Sequence< ScriptEventDescriptor > SAL_CALL OInterfaceContainer::getScriptEvents(
if ( m_xEventAttacher.is() ) if ( m_xEventAttacher.is() )
{ {
aReturn = m_xEventAttacher->getScriptEvents( nIndex ); aReturn = m_xEventAttacher->getScriptEvents( nIndex );
if ( lcl_hasVbaEvents( aReturn ) ) if ( lcl_hasVbaEvents( aReturn ) )
{ {
aReturn = lcl_stripVbaEvents( aReturn ); aReturn = lcl_stripVbaEvents( aReturn );
} }
} }
return aReturn; return aReturn;
} }
...@@ -1287,7 +1287,7 @@ OFormComponents::~OFormComponents() ...@@ -1287,7 +1287,7 @@ OFormComponents::~OFormComponents()
void OFormComponents::disposing() void OFormComponents::disposing()
{ {
OInterfaceContainer::disposing(); OInterfaceContainer::disposing();
::cppu::OComponentHelper::disposing(); ::cppu::OComponentHelper::disposing();
m_xParent = nullptr; m_xParent = nullptr;
} }
......
...@@ -1016,7 +1016,7 @@ void SAL_CALL SvtFilePicker::initialize( const Sequence< Any >& _rArguments ) ...@@ -1016,7 +1016,7 @@ void SAL_CALL SvtFilePicker::initialize( const Sequence< Any >& _rArguments )
namedValue.Value >>= sStandardDir; namedValue.Value >>= sStandardDir;
// Set the directory for the "back to the default dir" button // Set the directory for the "back to the default dir" button
if ( !sStandardDir.isEmpty() ) if ( !sStandardDir.isEmpty() )
{ {
m_aStandardDir = sStandardDir; m_aStandardDir = sStandardDir;
} }
......
...@@ -783,7 +783,7 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, AddServiceHdl, Button*, void ) ...@@ -783,7 +783,7 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, AddServiceHdl, Button*, void )
m_bIsUpdated = true; m_bIsUpdated = true;
EnableControls(); EnableControls();
break; break;
} }
case RET_CANCEL : case RET_CANCEL :
default : default :
......
...@@ -1258,7 +1258,7 @@ IMPL_LINK_NOARG( SvtFileDialog, ConnectToServerPressed_Hdl, Button*, void ) ...@@ -1258,7 +1258,7 @@ IMPL_LINK_NOARG( SvtFileDialog, ConnectToServerPressed_Hdl, Button*, void )
PlacePtr newPlace = aDlg.GetPlace(); PlacePtr newPlace = aDlg.GetPlace();
pImpl->_pPlaces->AppendPlace(newPlace); pImpl->_pPlaces->AppendPlace(newPlace);
break; break;
} }
case RET_CANCEL : case RET_CANCEL :
default : default :
...@@ -1373,7 +1373,7 @@ void SvtFileDialog::OpenMultiSelection_Impl() ...@@ -1373,7 +1373,7 @@ void SvtFileDialog::OpenMultiSelection_Impl()
void SvtFileDialog::UpdateControls( const OUString& rURL ) void SvtFileDialog::UpdateControls( const OUString& rURL )
{ {
pImpl->_pEdFileName->SetBaseURL( rURL ); pImpl->_pEdFileName->SetBaseURL( rURL );
INetURLObject aObj( rURL ); INetURLObject aObj( rURL );
...@@ -1940,7 +1940,7 @@ bool SvtFileDialog::PrepareExecute() ...@@ -1940,7 +1940,7 @@ bool SvtFileDialog::PrepareExecute()
bool bFileToSelect = nFileNameLen != 0; bool bFileToSelect = nFileNameLen != 0;
if ( bFileToSelect && aFileName[ nFileNameLen - 1 ] != '/' ) 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 ); pImpl->_pEdFileName->SetText( aDecodedName );
aFolderURL.removeSegment(); aFolderURL.removeSegment();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment