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 --- fpicker/source/office/OfficeFilePicker.cxx | 2 +- fpicker/source/office/RemoteFilesDialog.cxx | 2 +- fpicker/source/office/iodlg.cxx | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'fpicker') 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(); } -- cgit