[Libreoffice-commits] .: sal/inc

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Aug 21 01:29:09 PDT 2012


 sal/inc/systools/win32/comptr.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 95b26a37eec7800a337f4522c9235f6e6306de32
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Aug 21 10:24:58 2012 +0200

    mingw doesn't know __uuidof
    
    Copied from fpicker/source/win32/filepicker/comptr.hxx, which
    otherwise seems to be the same file.
    
    Change-Id: I51ca96c1280e75f9318fcbc74997b2bf755fff95

diff --git a/sal/inc/systools/win32/comptr.hxx b/sal/inc/systools/win32/comptr.hxx
index fe7b651..7ef5123 100644
--- a/sal/inc/systools/win32/comptr.hxx
+++ b/sal/inc/systools/win32/comptr.hxx
@@ -174,12 +174,14 @@ class ComPtr
             }
         }
 
+#ifndef __MINGW32__
         //---------------------------------------------------------------------
         template< class T_QUERYINTERFACE >
         HRESULT query(T_QUERYINTERFACE** pQuery)
         {
             return m_pInterface->QueryInterface(__uuidof(T_QUERYINTERFACE), (void**)pQuery);
         }
+#endif
 
         //---------------------------------------------------------------------
         HRESULT query(REFIID rIID  ,


More information about the Libreoffice-commits mailing list