| author | Luboš Luňák <l.lunak@suse.cz> | 2012-08-21 08:24:58 (GMT) |
|---|---|---|
| committer | Luboš Luňák <l.lunak@suse.cz> | 2012-08-21 08:28:36 (GMT) |
| commit | 95b26a37eec7800a337f4522c9235f6e6306de32 (patch) (side-by-side diff) | |
| tree | 217cdbd6fd93339e7fe807873f51258777ce315a | |
| parent | 7af4168b4f1212de0270d043f7de7143ea671aff (diff) | |
| download | core-95b26a37eec7800a337f4522c9235f6e6306de32.zip core-95b26a37eec7800a337f4522c9235f6e6306de32.tar.gz | |
mingw doesn't know __uuidof
Copied from fpicker/source/win32/filepicker/comptr.hxx, which
otherwise seems to be the same file.
Change-Id: I51ca96c1280e75f9318fcbc74997b2bf755fff95
| -rw-r--r-- | sal/inc/systools/win32/comptr.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 , |
