[Libreoffice-commits] core.git: shell/source

Stephan Bergmann sbergman at redhat.com
Thu Jun 29 09:40:52 UTC 2017


 shell/source/backends/kde4be/kde4access.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 5c7c018b11c8bfb4791b61b00832ffe5b81e44f8
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 29 11:40:28 2017 +0200

    loplugin:oncevar
    
    Change-Id: Id5309e2d06551da6df05d06e436678b570740f78

diff --git a/shell/source/backends/kde4be/kde4access.cxx b/shell/source/backends/kde4be/kde4access.cxx
index 5d962b71e901..ad1e417ad23f 100644
--- a/shell/source/backends/kde4be/kde4access.cxx
+++ b/shell/source/backends/kde4be/kde4access.cxx
@@ -83,9 +83,8 @@ css::beans::Optional< css::uno::Any > getValue(OUString const & id) {
     } else if (id == "EnableATToolSupport")
     {
         /* does not make much sense without an accessibility bridge */
-        bool ATToolSupport = false;
         return css::beans::Optional< css::uno::Any >(
-            true, uno::makeAny( OUString::boolean( ATToolSupport ) ) );
+            true, uno::makeAny( OUString::boolean( false ) ) );
     } else if (id == "WorkPathVariable")
     {
         QString aDocumentsDir( KGlobalSettings::documentPath() );


More information about the Libreoffice-commits mailing list