diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2021-09-15 09:45:22 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-09-15 18:45:33 +0200 |
commit | ed1b10b3c0c2cab36a704dc8ffea51e387fc26d0 (patch) | |
tree | b99874a351d07daa68c8a8c8c6a51e2196522e71 /winaccessibility | |
parent | c76ed7c97f73e7d82ec337a0bc8b840346670a80 (diff) |
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@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@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@collabora.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/inc/AccObjectWinManager.hxx | 6 | ||||
-rw-r--r-- | winaccessibility/source/service/AccObjectWinManager.cxx | 1 |
2 files changed, 4 insertions, 3 deletions
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> |