diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-03-08 17:29:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-03-08 20:53:28 +0100 |
commit | 11380b0a02164e1d4e2b94fb6c2f6b2119367ff0 (patch) | |
tree | 35f6341dfd5401e1d1997cdca23b796f74c4e63d /fpicker | |
parent | 7c8a828db184b65db66202ac319834c4e362e0ee (diff) |
loplugin:external (clang-cl)
Change-Id: I543e7970e824c9d2ca504bbf3e4dd75a1ee2b4ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112175
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/VistaFilePickerImpl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx index 2fef710b728a..b8642dd1f010 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/VistaFilePickerImpl.cxx @@ -120,6 +120,8 @@ private: TFileDialog m_iDialog; }; +namespace { + template <class ComPtrDialog, REFCLSID CLSID> class TDialogImpl : public TDialogImplBase { public: @@ -142,6 +144,8 @@ public: } }; +} + using TSaveDialogImpl = TDialogImpl<TFileSaveDialog, CLSID_FileSaveDialog>; using TFolderPickerDialogImpl = TDialogImpl<TFileOpenDialog, CLSID_FileOpenDialog>; |