diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-07 10:29:50 +0100 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-07 16:47:45 +0200 |
commit | 47b1bb2f66acc920a0a46cc84a32dabdd9540894 (patch) | |
tree | 34ad2d9f6cf7ab81018c9fc8072f60d90150b775 | |
parent | f565adda49eae3cb2a07c3b4f2dff5c380c7a524 (diff) |
wina11y: Move "stdafx.h" include to headers
Move the "stdafx.h" include to the MAccessible.h
and UNOXWrapper.h headers from the corresponding
source files, since the 'ATL_NO_VTABLE' define
from stdafx.h is already used in the headers.
(This e.g. also makes sure that the define is known
when opening one of those headers in an IDE.)
Change-Id: I3b6b7df037846daaad4d702e0e0c0bd2970dc663
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121773
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r-- | winaccessibility/source/UAccCOM/MAccessible.cxx | 1 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/MAccessible.h | 1 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/UNOXWrapper.cxx | 1 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/UNOXWrapper.h | 1 |
4 files changed, 2 insertions, 2 deletions
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx index e9c563b3da5e..7ac0e67b9eff 100644 --- a/winaccessibility/source/UAccCOM/MAccessible.cxx +++ b/winaccessibility/source/UAccCOM/MAccessible.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "stdafx.h" #include "MAccessible.h" #if defined __clang__ diff --git a/winaccessibility/source/UAccCOM/MAccessible.h b/winaccessibility/source/UAccCOM/MAccessible.h index 80e9cb463ca1..5384e6a5c665 100644 --- a/winaccessibility/source/UAccCOM/MAccessible.h +++ b/winaccessibility/source/UAccCOM/MAccessible.h @@ -19,6 +19,7 @@ #pragma once +#include "stdafx.h" #include "Resource.h" // main symbols #include <map> #include <com/sun/star/accessibility/XAccessible.hpp> diff --git a/winaccessibility/source/UAccCOM/UNOXWrapper.cxx b/winaccessibility/source/UAccCOM/UNOXWrapper.cxx index a2b5d917dfa0..c009a005e4d1 100644 --- a/winaccessibility/source/UAccCOM/UNOXWrapper.cxx +++ b/winaccessibility/source/UAccCOM/UNOXWrapper.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include "stdafx.h" #include "UNOXWrapper.h" #if defined __clang__ diff --git a/winaccessibility/source/UAccCOM/UNOXWrapper.h b/winaccessibility/source/UAccCOM/UNOXWrapper.h index 76e47565a2d9..42983f88ace6 100644 --- a/winaccessibility/source/UAccCOM/UNOXWrapper.h +++ b/winaccessibility/source/UAccCOM/UNOXWrapper.h @@ -19,6 +19,7 @@ #pragma once +#include "stdafx.h" #include "Resource.h" // main symbols #include <com/sun/star/accessibility/XAccessible.hpp> |