# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # $(eval $(call gb_Executable_Executable,spsupp_helper)) $(eval $(call gb_Executable_set_targettype_gui,spsupp_helper,YES)) $(eval $(call gb_Executable_set_include,spsupp_helper,\ -I$(SRCDIR)/shell/inc/spsupp \ $$(INCLUDE) \ )) $(eval $(call gb_Executable_use_sdk_api,spsupp_helper)) $(eval $(call gb_Executable_use_libraries,spsupp_helper,\ i18nlangtag \ sal \ utl \ )) $(eval $(call gb_Executable_add_exception_objects,spsupp_helper,\ shell/source/win32/spsupp/spsuppHelper \ )) $(eval $(call gb_Executable_add_nativeres,spsupp_helper,spsupp_dlg)) $(eval $(call gb_Executable_add_default_nativeres,spsupp_helper)) $(eval $(call gb_Executable_use_system_win32_libs,spsupp_helper,\ shell32 \ )) # vim:set noet sw=4 ts=4: actory::createAccessible there. Drop the now unnecessary factory methods previously used for those classes. No change in behavior intended (yet), but this also simplifies the code involved for the tdf#164093 scenario. Change-Id: Ie3f6f1a02bf6662206d31383473cdc868e1f9164 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177812 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Other than most of the a11y implementations for vcl
classes, VCLXAccessiblePopupMenu etc. do not
make use of any VCLXWindow (i.e. UNO/toolkit wrapper of a
vcl::Window) and thus do not depend on the toolkit
module, which the accessibility module depends on.

Therefore, there's also no need to use the accessible
factory to create them (which is needed when toolkit
classes are involved to avoid a dependency cycle).

Move those classes from the accessibility module to
vcl and add a new method Menu::CreateAccessible and
move the logic from AccessibleFactory::createAccessible
there. Drop the now unnecessary factory methods
previously used for those classes.

No change in behavior intended (yet), but this
also simplifies the code involved for the
tdf#164093 scenario.

Change-Id: Ie3f6f1a02bf6662206d31383473cdc868e1f9164
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177812
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>