[Libreoffice-commits] core.git: fpicker/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Mar 8 19:54:10 UTC 2021


 fpicker/source/win32/VistaFilePickerImpl.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 11380b0a02164e1d4e2b94fb6c2f6b2119367ff0
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Mar 8 17:29:01 2021 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Mar 8 20:53:28 2021 +0100

    loplugin:external (clang-cl)
    
    Change-Id: I543e7970e824c9d2ca504bbf3e4dd75a1ee2b4ae
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112175
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

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>;
 


More information about the Libreoffice-commits mailing list