bump product version to 5.0.4.1
[LibreOffice.git] / extensions / source / activex / StdAfx2.h
blob484edfcf988bcc162732c9d54e62b35729bcc5f2
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 // stdafx1.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__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_)
25 #define AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED_
27 #ifdef _MSC_VER
28 #pragma once
29 #endif
31 #define STRICT
32 #ifndef _WIN32_WINNT
33 #define _WIN32_WINNT 0x0502
34 #endif
35 #define _ATL_APARTMENT_THREADED
36 #define _ATL_STATIC_REGISTRY
38 #pragma warning (push,1)
39 #pragma warning (disable:4548)
40 // expression before comma has no effect; expected expression with side-effect
41 #pragma warning (disable:4555)
42 // expression has no effect; expected expression with side-effect
44 #define min(a, b) (((a) < (b)) ? (a) : (b))
45 #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 #include <atlctl.h>
53 #pragma warning (pop)
55 //{{AFX_INSERT_LOCATION}}
56 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
58 #endif // !defined(AFX_STDAFX_H__C1799EA0_62CC_44DE_A2DD_C9F0410FF7F1__INCLUDED)
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */