offapi/UnoApi_offapi.mk | 1 offapi/com/sun/star/awt/AccessibleDropDownComboBox.idl | 97 ------------ vcl/inc/accessibility/vclxaccessibledropdowncombobox.hxx | 5 vcl/source/accessibility/vclxaccessibledropdowncombobox.cxx | 15 - 4 files changed, 118 deletions(-)
New commits: commit d4e56c539b23881923963267232e7b902fbec31c Author: Michael Weghorn <[email protected]> AuthorDate: Wed Mar 4 18:52:54 2026 +0100 Commit: Michael Weghorn <[email protected]> CommitDate: Thu Mar 5 11:20:02 2026 +0100 [API CHANGE] a11y: Drop com.sun.star.awt.AccessibleDropDownComboBox Drop the unpublished service "com.sun.star.awt.AccessibleDropDownComboBox" because it's unused. (The IDL file only documents some internal implementation details of the a11y class implementing the service.) Also drop VCLXAccessibleDropDownComboBox::getImplementationName as there is no need to report a different implementation name than the base class implementation. Change-Id: Icd30779791122e8d07da477ae78e60234f3bbbb3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200968 Tested-by: Jenkins Reviewed-by: Michael Weghorn <[email protected]> diff --git a/offapi/UnoApi_offapi.mk b/offapi/UnoApi_offapi.mk index d6f1b3ab051d..280f24e20774 100644 --- a/offapi/UnoApi_offapi.mk +++ b/offapi/UnoApi_offapi.mk @@ -486,7 +486,6 @@ $(eval $(call gb_UnoApi_add_idlfiles_noheader,offapi,com/sun/star/awt,\ AccessibleButton \ AccessibleCheckBox \ AccessibleComboBox \ - AccessibleDropDownComboBox \ AccessibleEdit \ AccessibleFixedText \ AccessibleList \ diff --git a/offapi/com/sun/star/awt/AccessibleDropDownComboBox.idl b/offapi/com/sun/star/awt/AccessibleDropDownComboBox.idl deleted file mode 100644 index 9c671e734bd1..000000000000 --- a/offapi/com/sun/star/awt/AccessibleDropDownComboBox.idl +++ /dev/null @@ -1,97 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * 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/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - - -module com { module sun { module star { module accessibility { - - interface XAccessibleAction; - interface XAccessibleExtendedComponent; - interface XAccessibleComponent; - -}; }; }; }; - -module com { module sun { module star { module awt { - -/** specifies accessibility support for a dropdown combo box. - - @see com::sun::star::accessibility::AccessibleContext - - @see com::sun::star::accessibility::XAccessibleComponent - @see com::sun::star::accessibility::XAccessibleExtendedComponent - @see com::sun::star::accessibility::XAccessibleAction - - @since OOo 1.1.2 -*/ -service AccessibleDropDownComboBox -{ - /** This interface gives access to the structural information of a dropdown combo box: - - <ul> - <li>Role: The role of a dropdown combo box is - com::sun::star::accessibility::AccessibleRole::COMBO_BOX.</li> - <li>Name: The name of a dropdown combo box is its localized label.</li> - <li>Description: The description of a dropdown combo box is its localized - help text.</li> - <li>Children: There exists two children. - The first is a com::sun::star::awt::AccessibleTextField - and the 2nd is a com::sun::star::awt::AccessibleList. </li> - <li>Parent: The parent is the window that contains the dropdown combo box.</li> - <li>Relations: There are no relations.</li> - <li>States: The states supported by this service are - <ul> - <li>com::sun::star::accessibility::AccessibleStateType::DEFUNC - is set if the object has already been disposed - and subsequent calls to this object result in - com::sun::star::lang::DisposedException - exceptions.</li> - <li>com::sun::star::accessibility::AccessibleStateType::ENABLED - is set if the object is enabled.</li> - <li>com::sun::star::accessibility::AccessibleStateType::FOCUSABLE - is always set.</li> - <li>com::sun::star::accessibility::AccessibleStateType::FOCUSED - is set if the object currently has the keyboard focus.</li> - <li>com::sun::star::accessibility::AccessibleStateType::ACTIVE - is set if a child has currently the focus.</li> - <li>com::sun::star::accessibility::AccessibleStateType::RESIZABLE - is set if the object can be resized.</li> - <li>com::sun::star::accessibility::AccessibleStateType::SHOWING - is set if the object is displayed on the screen.</li> - <li>com::sun::star::accessibility::AccessibleStateType::VISIBLE - is always set.</li> - </ul> - </li> - </ul> - */ - service com::sun::star::accessibility::AccessibleContext; - - interface com::sun::star::accessibility::XAccessibleComponent; - interface com::sun::star::accessibility::XAccessibleExtendedComponent; - - /** This interface gives access to the actions that can be executed for - a dropdown combo box. The supported actions for a dropdown combo box are: - <ul> - <li>togglePopup</li> - </ul> - */ - interface com::sun::star::accessibility::XAccessibleAction; -}; - -}; }; }; }; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/inc/accessibility/vclxaccessibledropdowncombobox.hxx b/vcl/inc/accessibility/vclxaccessibledropdowncombobox.hxx index b2b0a9f5f7db..613ab968bda7 100644 --- a/vcl/inc/accessibility/vclxaccessibledropdowncombobox.hxx +++ b/vcl/inc/accessibility/vclxaccessibledropdowncombobox.hxx @@ -35,11 +35,6 @@ class VCLXAccessibleDropDownComboBox final : public VCLXAccessibleBox public: VCLXAccessibleDropDownComboBox(ComboBox* pComboBox); - // XServiceInfo - virtual OUString SAL_CALL getImplementationName() override; - // Return drop down combo box specific services. - virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override; - private: virtual ~VCLXAccessibleDropDownComboBox() override = default; diff --git a/vcl/source/accessibility/vclxaccessibledropdowncombobox.cxx b/vcl/source/accessibility/vclxaccessibledropdowncombobox.cxx index f2b870db2541..c4f530358619 100644 --- a/vcl/source/accessibility/vclxaccessibledropdowncombobox.cxx +++ b/vcl/source/accessibility/vclxaccessibledropdowncombobox.cxx @@ -47,19 +47,4 @@ void VCLXAccessibleDropDownComboBox::ProcessWindowEvent (const VclWindowEvent& r } } - -// XServiceInfo - -OUString VCLXAccessibleDropDownComboBox::getImplementationName() -{ - return u"com.sun.star.comp.toolkit.AccessibleDropDownComboBox"_ustr; -} - - -Sequence< OUString > VCLXAccessibleDropDownComboBox::getSupportedServiceNames() -{ - return comphelper::concatSequences(VCLXAccessibleBox::getSupportedServiceNames(), - std::initializer_list<OUString>{u"com.sun.star.accessibility.AccessibleDropDownComboBox"_ustr}); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
