Instead of passing an XAccessibleContext wrapped in a uno::Any, pass the XAccessible. This drops an extra level of wrapping/unwrapping. The same will be done for XAccessibleGroupPosition::getObjectLink in an upcoming commit. Since the XAccessibleGroupPosition interface (and the UNO a11y API in general) is unpublished and meant for internal use only, changing it should be unproblematic. Change-Id: I5db3a99bb8d78099e3b136cbcd402fe2ae49d49c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211216 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
/* -*- 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 XAccessibleGroupPosition : ::com::sun::star::uno::XInterface
|
|
{
|
|
/* Returns the group position of the object */
|
|
sequence<long> getGroupPosition( [in] XAccessible accObject ) raises (::com::sun::star::lang::IndexOutOfBoundsException);
|
|
|
|
/* Returns the hyperlink URL info of the object */
|
|
string getObjectLink( [in] any accoject ) raises (::com::sun::star::lang::IndexOutOfBoundsException);
|
|
};
|
|
|
|
}; }; }; };
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|