From 47b1bb2f66acc920a0a46cc84a32dabdd9540894 Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Tue, 7 Sep 2021 10:29:50 +0100 Subject: 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 --- winaccessibility/source/UAccCOM/MAccessible.cxx | 1 - winaccessibility/source/UAccCOM/MAccessible.h | 1 + winaccessibility/source/UAccCOM/UNOXWrapper.cxx | 1 - 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 #include 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 -- cgit