Files
libreoffice/extensions/source/activex/SOComWindowPeer.cxx

32 lines
793 B
C++
Raw Normal View History

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2002-08-14 13:41:00 +00:00
// SOComWindowPeer.cpp : Implementation of CHelpApp and DLL registration.
#include "stdafx2.h"
#include "so_activex.h"
#include "SOComWindowPeer.h"
#include <sal/macros.h>
2002-08-14 13:41:00 +00:00
/////////////////////////////////////////////////////////////////////////////
//
STDMETHODIMP SOComWindowPeer::InterfaceSupportsErrorInfo(REFIID riid)
{
static const IID* arr[] =
{
&IID_ISOComWindowPeer,
};
for (int i=0;i<SAL_N_ELEMENTS(arr);i++)
2002-08-14 13:41:00 +00:00
{
#if defined(_MSC_VER) && (_MSC_VER >= 1300)
if (InlineIsEqualGUID(*arr[i],riid))
#else
2002-09-05 14:42:12 +00:00
if (::ATL::InlineIsEqualGUID(*arr[i],riid))
#endif
2002-08-14 13:41:00 +00:00
return S_OK;
}
return S_FALSE;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */