diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-02-26 11:02:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-26 21:15:41 +0100 |
commit | ea58b039ab455b38aabbd20e8e50ec8965a1d69d (patch) | |
tree | 0010ec68a8da3c8dad5c34c27d42bfc0acd9a5b6 /fpicker/source | |
parent | 0a29c928afa74123bca05dc089c751603d368467 (diff) |
loplugin:indentation (clang-cl)
Change-Id: I94689e4eed290b4505d2caba2d9802ef7fb6cffd
Reviewed-on: https://gerrit.libreoffice.org/68378
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker/source')
-rw-r--r-- | fpicker/source/win32/VistaFilePicker.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/win32/VistaFilePickerImpl.cxx | 10 | ||||
-rw-r--r-- | fpicker/source/win32/WinImplHelper.cxx | 20 | ||||
-rw-r--r-- | fpicker/source/win32/asyncrequests.cxx | 2 |
4 files changed, 17 insertions, 17 deletions
diff --git a/fpicker/source/win32/VistaFilePicker.cxx b/fpicker/source/win32/VistaFilePicker.cxx index 0737100d07e6..c100dd5b1885 100644 --- a/fpicker/source/win32/VistaFilePicker.cxx +++ b/fpicker/source/win32/VistaFilePicker.cxx @@ -268,7 +268,7 @@ void VistaFilePicker::ensureInit() m_aAsyncExecute.triggerRequestThreadAware(rRequest, AsyncRequests::PROCESS_MESSAGES); const bool bOK = rRequest->getArgumentOrDefault(PROP_DIALOG_SHOW_RESULT, false ); - m_lLastFiles = rRequest->getArgumentOrDefault(PROP_SELECTED_FILES , css::uno::Sequence< OUString >()); + m_lLastFiles = rRequest->getArgumentOrDefault(PROP_SELECTED_FILES , css::uno::Sequence< OUString >()); ::sal_Int16 nResult = css::ui::dialogs::ExecutableDialogResults::CANCEL; if (bOK) diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx index 368af5562fbd..76e1062c7cfd 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/VistaFilePickerImpl.cxx @@ -159,8 +159,8 @@ static OUString lcl_AdjustFilterName(const OUString& sName) static ::std::vector<COMDLG_FILTERSPEC> lcl_buildFilterList(CFilterContainer& rContainer, std::vector<OUString>& rvStrings) { - ::std::vector< COMDLG_FILTERSPEC > lList ; - CFilterContainer::FILTER_ENTRY_T aFilter; + ::std::vector< COMDLG_FILTERSPEC > lList ; + CFilterContainer::FILTER_ENTRY_T aFilter; rContainer.beginEnumFilter( ); while( rContainer.getNextFilter(aFilter) ) @@ -1133,7 +1133,7 @@ void VistaFilePickerImpl::impl_sta_SetControlValue(const RequestRef& rRequest) case css::ui::dialogs::ExtendedFilePickerElementIds::CHECKBOX_SELECTION : { bool bValue = false; - aValue >>= bValue; + aValue >>= bValue; iCustom->SetCheckButtonState(nId, bValue); } break; @@ -1168,7 +1168,7 @@ void VistaFilePickerImpl::impl_sta_SetControlValue(const RequestRef& rRequest) case css::ui::dialogs::ControlActions::SET_SELECT_ITEM : { ::sal_Int32 nItem = 0; - aValue >>= nItem; + aValue >>= nItem; hResult = iCustom->SetSelectedControlItem(nId, nItem); } break; @@ -1301,7 +1301,7 @@ void VistaFilePickerImpl::onAutoExtensionChanged (bool bChecked) ::osl::ResettableMutexGuard aLock(m_aMutex); const OUString sFilter = m_lFilters.getCurrentFilter (); - OUString sExt ; + OUString sExt ; if (!m_lFilters.getFilterByName(sFilter, sExt)) return; diff --git a/fpicker/source/win32/WinImplHelper.cxx b/fpicker/source/win32/WinImplHelper.cxx index 71d391f19aee..ab1dcbe007a9 100644 --- a/fpicker/source/win32/WinImplHelper.cxx +++ b/fpicker/source/win32/WinImplHelper.cxx @@ -82,23 +82,23 @@ static void Replace( const OUString& aLabel, sal_Unicode OldChar, sal_Unicode Ne // by NexChar aBuffer.insert( i, NewChar ); } - } - else if ( *pCurrent == NewChar ) - { + } + else if ( *pCurrent == NewChar ) + { // a NewChar will be replaced by // two NewChars // e.g. & -> && aBuffer.insert( i++, *pCurrent ); aBuffer.insert( i, *pCurrent ); - } - else - { + } + else + { aBuffer.insert( i, *pCurrent ); - } + } - pCurrent++; - pNext++; - i++; + pCurrent++; + pNext++; + i++; } } diff --git a/fpicker/source/win32/asyncrequests.cxx b/fpicker/source/win32/asyncrequests.cxx index c7fb3f73878e..79a26f894437 100644 --- a/fpicker/source/win32/asyncrequests.cxx +++ b/fpicker/source/win32/asyncrequests.cxx @@ -181,7 +181,7 @@ void SAL_CALL AsyncRequests::run() if ( ! m_lRequests.empty()) { rRequest = m_lRequests.front(); - m_lRequests.pop(); + m_lRequests.pop(); } bFinished = m_bFinish; |