diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-03-04 17:59:45 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-03-04 18:05:17 +0100 |
commit | 6967da019b69767a15116de101d33a16b95c8a44 (patch) | |
tree | 6568d010800d5a2b50ce021d0fc4e187c45f8282 /filter/CppunitTest_filter_xslt.mk | |
parent | 806f4d8e9a5237ee6c70b1f0433bf12601db1260 (diff) |
filter: make LibXSLTTransformer init backward compatible
As reported by Fernand Vanrie, initializing the XSLT service can fail
because the LibXSLTTransformer::initialize was changed to require
the parameters as a nested Sequence; accept previous parameter
convention as a fall-back.
(regression from ca0ea73a4ab104031a16b5bac7a9bb6e57c77ba0)
Change-Id: I136e6e6338f11ffecf9f856f0736d1d0e6b17c3f
Diffstat (limited to 'filter/CppunitTest_filter_xslt.mk')
-rw-r--r-- | filter/CppunitTest_filter_xslt.mk | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/filter/CppunitTest_filter_xslt.mk b/filter/CppunitTest_filter_xslt.mk new file mode 100644 index 000000000000..430222895897 --- /dev/null +++ b/filter/CppunitTest_filter_xslt.mk @@ -0,0 +1,43 @@ +# -*- 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_CppunitTest_CppunitTest,filter_xslt)) + +$(eval $(call gb_CppunitTest_use_api,filter_xslt,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_CppunitTest_use_ure,filter_xslt)) + +$(eval $(call gb_CppunitTest_use_configuration,filter_xslt)) + +$(eval $(call gb_CppunitTest_use_libraries,filter_xslt, \ + comphelper \ + test \ + unotest \ + cppuhelper \ + cppu \ + sal \ + $(gb_UWINAPI) \ +)) + +$(eval $(call gb_CppunitTest_use_components,filter_xslt,\ + configmgr/source/configmgr \ + filter/source/xsltfilter/xsltfilter \ + i18npool/util/i18npool \ + ucb/source/core/ucb1 \ + ucb/source/ucp/file/ucpfile1 \ +)) + +$(eval $(call gb_CppunitTest_add_exception_objects,filter_xslt, \ + filter/qa/cppunit/xslt-test \ +)) + +# vim: set noet sw=4 ts=4: |