[Libreoffice-commits] core.git: jvmfwk/plugins

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri May 15 12:13:05 UTC 2020


 jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 73f973df8fe588272e99d330d1b7b9254c9341d7
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri May 15 11:36:40 2020 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri May 15 14:12:30 2020 +0200

    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 <sbergman at redhat.com>

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<JavaInfo> createJavaInfo(
     return std::unique_ptr<JavaInfo>(
         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<sal_Int8*>(sVendorData.pData->buffer),


More information about the Libreoffice-commits mailing list