From 73f973df8fe588272e99d330d1b7b9254c9341d7 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 15 May 2020 11:36:40 +0200 Subject: Use symbolic JFW_FEATURE_ACCESSBRIDGE (unclear why 43cc8abfb0a41878c4e78fd3b868b1d4f344c610 "#i20052# plugin lib for java framework" hadn't done so from the start, when 2b24c46035657a8a43c6552328f7b4dda1622ce5 "#i20052# java framework" had already introduced the macro) Change-Id: I7f83e5ee68300438bcf7b49bdd12512ca0cbea42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94286 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'jvmfwk') diff --git a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx index cec0ce97ff6a..6397cda3c045 100644 --- a/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx +++ b/jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx @@ -168,7 +168,7 @@ std::unique_ptr createJavaInfo( return std::unique_ptr( new JavaInfo{ info->getVendor(), info->getHome(), info->getVersion(), - sal_uInt64(info->supportsAccessibility() ? 1 : 0), + sal_uInt64(info->supportsAccessibility() ? JFW_FEATURE_ACCESSBRIDGE : 0), sal_uInt64(info->needsRestart() ? JFW_REQUIRE_NEEDRESTART : 0), rtl::ByteSequence( reinterpret_cast(sVendorData.pData->buffer), -- cgit