diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 10:12:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-01 13:20:30 +0200 |
commit | a3e29642b9c118674ad88785500ce164aa103de9 (patch) | |
tree | cc56b0087f4e3529b75865f6bad0f9e5a2119f1d /fpicker | |
parent | 720af01132d9e623389b82b5251c1687240d3569 (diff) |
loplugin:data (clang-cl)
Change-Id: Ib8b2bc1c5f7b27a646036ce23cae2b6a06edd038
Reviewed-on: https://gerrit.libreoffice.org/79922
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/VistaFilePickerImpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx index a4b5a88c5d48..1899f6addfc9 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/VistaFilePickerImpl.cxx @@ -846,7 +846,7 @@ void VistaFilePickerImpl::impl_sta_setFiltersOnDialog() if (lFilters.empty()) return; - COMDLG_FILTERSPEC *pFilt = &lFilters[0]; + COMDLG_FILTERSPEC *pFilt = lFilters.data(); iDialog->SetFileTypes(lFilters.size(), pFilt/*&lFilters[0]*/); iDialog->SetFileTypeIndex(nCurrentFilter + 1); |