diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 09:41:33 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-11-25 10:53:32 +0100 |
commit | e8227dc4af54c39e871b12f2e846fa54cff11581 (patch) | |
tree | 88a93d4a1cea756eb865f893fe63d87546299b49 /fpicker | |
parent | 696739056f37430154d6333b8f7228d1c44d09b3 (diff) |
loplugin:stringview (clang-cl)
Change-Id: I47b44c80b2a5e3c9d84f5d7257efe17f138a1067
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106563
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 d6e10115ac82..7d3b4d014450 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/VistaFilePickerImpl.cxx @@ -996,7 +996,7 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const RequestRef& rRequest) { const sal_Int32 idx = sFilter.indexOf('.'); if (idx >= 0) - aFileURL += sFilter.copy(idx); + aFileURL += sFilter.subView(idx); } } } |