fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / winaccessibility / source / UAccCOM / stdafx.h
blobe71ac0b0a5065631ca3a93d5c6e1a1802e1f57de
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 // stdafx.h : include file for standard system include files,
21 // or project specific include files that are used frequently,
22 // but are changed infrequently
24 #if !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED_)
25 #define AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED_
27 #if _MSC_VER > 1000
28 #pragma once
29 #endif // _MSC_VER > 1000
31 // this turns off ATL's locking in the COM component implementations
32 // (we don't need it since we use SolarMutex instead)
33 #define _ATL_APARTMENT_THREADED
35 #include <prewin.h>
36 #include <windows.h>
38 #include <atlbase.h>
39 // You may derive a class from CComModule and use it if you want to override
40 // something, but do not change the name of _Module
41 extern CComModule _Module;
42 #include <atlcom.h>
43 #include <postwin.h>
44 #undef OPAQUE
47 #define ENTER_PROTECTED_BLOCK \
48 try \
51 #define LEAVE_PROTECTED_BLOCK \
52 } \
53 catch(...) \
54 { \
55 return E_FAIL; \
58 #define SAFE_SYSFREESTRING(x) { ::SysFreeString(x); x=NULL; }
60 //{{AFX_INSERT_LOCATION}}
61 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
63 #endif // !defined(AFX_STDAFX_H__5E2F9072_190F_47C7_8003_4D44FD308CB9__INCLUDED)
65 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */