[Libreoffice-commits] core.git: winaccessibility/inc winaccessibility/source
Michael Weghorn (via logerrit)
logerrit at kemper.freedesktop.org
Wed Sep 15 16:46:06 UTC 2021
winaccessibility/inc/AccObjectWinManager.hxx | 6 +++---
winaccessibility/source/service/AccObjectWinManager.cxx | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
New commits:
commit ed1b10b3c0c2cab36a704dc8ffea51e387fc26d0
Author: Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Wed Sep 15 09:45:22 2021 +0100
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Wed Sep 15 18:45:33 2021 +0200
wina11y: Forward-declare XAccessible in AccObjectWinManager.hxx
instead of including the header, as suggested by
Mike Kaganski in the Gerrit change for
commit 6bf771f0a5ba7be9955f05b307c190fb157adb47
Author: Michael Weghorn <m.weghorn at posteo.de>
Date: Thu Sep 9 11:36:57 2021 +0100
wina11y: Use XAccessible* instead of void*
Change-Id: If52de3a71af63697815e4ec6a19f9139d5a6973d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122085
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>
(The header had actually been included previously, so
the above commit had added it to the same header a second time...)
Change-Id: Id6a6c5e2426bf07e41f29e1473ec1694970272c5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122132
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx
index dafe01d93219..4f35668c56ef 100644
--- a/winaccessibility/inc/AccObjectWinManager.hxx
+++ b/winaccessibility/inc/AccObjectWinManager.hxx
@@ -19,7 +19,6 @@
#pragma once
-#include <com/sun/star/accessibility/XAccessible.hpp>
#include <map>
#if !defined WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
@@ -37,8 +36,9 @@
#pragma clang diagnostic pop
#endif
-#include <com/sun/star/accessibility/XAccessible.hpp>
-
+namespace com::sun::star::accessibility {
+class XAccessible;
+}
class ResIDGenerator;
class AccObjectManagerAgent;
class AccEventListener;
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx
index 0f73d0ad9bf9..39f9f4a621f9 100644
--- a/winaccessibility/source/service/AccObjectWinManager.cxx
+++ b/winaccessibility/source/service/AccObjectWinManager.cxx
@@ -19,6 +19,7 @@
#include <cassert>
+#include "com/sun/star/accessibility/XAccessible.hpp"
#include <com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp>
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessibleComponent.hpp>
More information about the Libreoffice-commits
mailing list