1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright IBM Corporation 2010.
6  * Copyright 2000, 2010 Oracle and/or its affiliates.
7  *
8  * OpenOffice.org - a multi-platform office productivity suite
9  *
10  * This file is part of OpenOffice.org.
11  *
12  * OpenOffice.org is free software: you can redistribute it and/or modify
13  * it under the terms of the GNU Lesser General Public License version 3
14  * only, as published by the Free Software Foundation.
15  *
16  * OpenOffice.org is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU Lesser General Public License version 3 for more details
20  * (a copy is included in the LICENSE file that accompanied this code).
21  *
22  * You should have received a copy of the GNU Lesser General Public License
23  * version 3 along with OpenOffice.org.  If not, see
24  * <http://www.openoffice.org/license.html>
25  * for a copy of the LGPLv3 License.
26  *
27  ************************************************************************/
28 
29 // stdafx.h : include file for standard system include files,
30 //      or project specific include files that are used frequently,
31 //      but are changed infrequently
32 
33 #if !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED_)
34 #define AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED_
35 
36 #if _MSC_VER > 1000
37 #pragma once
38 #endif // _MSC_VER > 1000
39 
40 #define STRICT
41 #ifndef _WIN32_WINNT
42 #define _WIN32_WINNT 0x0400
43 #endif
44 //#define _ATL_APARTMENT_THREADED
45 
46 #include <atlbase.h>
47 // You may derive a class from CComModule and use it if you want to override
48 // something, but do not change the name of _Module
49 extern CComModule _Module;
50 #include <atlcom.h>
51 
52 #define ENTER_PROTECTED_BLOCK	\
53 	try							\
54 	{
55 
56 #define LEAVE_PROTECTED_BLOCK	\
57 	}							\
58 	catch(...)					\
59 	{							\
60 		return E_FAIL;			\
61 	}
62 
63 #define SAFE_SYSFREESTRING(x) { ::SysFreeString(x); x=NULL; }
64 
65 #include <windows.h>
66 #undef OPAQUE
67 #include "CheckEnableAccessible.h"
68 //{{AFX_INSERT_LOCATION}}
69 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
70 
71 #endif // !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED)
72