[Libreoffice-commits] core.git: winaccessibility/source
Michael Weghorn (via logerrit)
logerrit at kemper.freedesktop.org
Tue Sep 7 14:48:19 UTC 2021
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(-)
New commits:
commit 47b1bb2f66acc920a0a46cc84a32dabdd9540894
Author: Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Tue Sep 7 10:29:50 2021 +0100
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Tue Sep 7 16:47:45 2021 +0200
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 at posteo.de>
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>
More information about the Libreoffice-commits
mailing list