merged tag ooo/OOO330_m14
[LibreOffice.git] / extensions / source / activex / main / SOActionsApproval.cpp
blob9a36645589bcd63f4850e0a99691926d37b9e0c3
1 // SOActionsApproval.cpp : Implementation of CHelpApp and DLL registration.
3 #include "stdafx2.h"
5 #include "so_activex.h"
6 #include "SOActionsApproval.h"
8 /////////////////////////////////////////////////////////////////////////////
9 //
11 STDMETHODIMP SOActionsApproval::InterfaceSupportsErrorInfo(REFIID riid)
13 static const IID* arr[] =
15 &IID_ISOActionsApproval,
18 for (int i=0;i<sizeof(arr)/sizeof(arr[0]);i++)
20 #if defined(_MSC_VER) && (_MSC_VER >= 1300)
21 if (InlineIsEqualGUID(*arr[i],riid))
22 #else
23 if (::ATL::InlineIsEqualGUID(*arr[i],riid))
24 #endif
25 return S_OK;
27 return S_FALSE;