The arguments for a macro when invoked by the dispatch provider get converted from a set of PropertyValues to a sequence of Anys containing just the values. Since the commit below, the TransformItems step was changed to store the PropertyValues in an unordered_map which makes the order of the values unpredictable. If the dispatch provider is used to execute a macro then the order of the arguments becomes important because the macro has no other way to determine which argument represents which property. In order to maintain the previous behaviour, the dispatch method now reorders the arguments so that they have the same order as before. The previous order was determined by the order the properties were handled in TransformItems. commite8d73d5307Author: Mike Kaganski <mike.kaganski@collabora.com> Date: Wed Dec 3 10:45:35 2025 +0500 Let TransformItems return comphelper::SequenceAsHashMap Simplifies its usage in all places where the result needs to be modified. Change-Id: I37f8d99827e0f1cb2b6e4f4f7735e26fb87f6703 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195162 Change-Id: Iacf64650842eb62c0a2bd266784aa9c7accf45bd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209231 Reviewed-by: Neil Roberts <nroberts@libreoffice.org> Tested-by: Jenkins (cherry picked from commit365de006d1) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/209297 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t; fill-column: 100 -*-
|
|
#
|
|
# 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_CppunitTest_CppunitTest,scripting_scripthandler))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,scripting_scripthandler, \
|
|
scripting/qa/cppunit/scripthandler/ScriptHandlerTest \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,scripting_scripthandler, \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
subsequenttest \
|
|
test \
|
|
unotest \
|
|
utl \
|
|
tl \
|
|
vcl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,scripting_scripthandler,\
|
|
boost_headers \
|
|
libxml2 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_api,scripting_scripthandler,\
|
|
udkapi \
|
|
offapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,scripting_scripthandler))
|
|
$(eval $(call gb_CppunitTest_use_vcl,scripting_scripthandler))
|
|
$(eval $(call gb_CppunitTest_use_rdb,scripting_scripthandler,services))
|
|
$(eval $(call gb_CppunitTest_use_configuration,scripting_scripthandler))
|
|
|
|
# vim: set noet sw=4 ts=4:
|