summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-07-19 06:08:36 +0900
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-07-22 12:12:43 +0000
commitb39b835e1728a8871f017f1af3b3b642fdbff1d8 (patch)
treec8d722ad79061f985b7b9e31a61adfbaeedee60a
parent6efbaac8e1eb86d9fd3751b2422964c8d17bf589 (diff)
Resolves: tdf#100903 Calc hangs when preediting Japanese with GTK plugin
... + Mozc. This issue shares a common root with tdf#56937. Change-Id: Ic5720c19f22f7e6b047e1251b34f90d04ce7eee7 Reviewed-on: https://gerrit.libreoffice.org/27305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 1c81af2c1814e8bd12701f85e09cebf5fe206647) Reviewed-on: https://gerrit.libreoffice.org/27330 (cherry picked from commit 3af2382e6155abbb3e9e6102878bad1fa3f79373) Reviewed-on: https://gerrit.libreoffice.org/27357 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--vcl/unx/gtk/gtksalframe.cxx2
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index 0d8e1532e539..070d98a5838f 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -3823,6 +3823,8 @@ uno::Reference<accessibility::XAccessibleEditableText>
if (xText.is())
return xText;
}
+ if (xState->contains(accessibility::AccessibleStateType::MANAGES_DESCENDANTS))
+ return uno::Reference< accessibility::XAccessibleEditableText >();
}
for (sal_Int32 i = 0; i < xContext->getAccessibleChildCount(); ++i)
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index e8d12e3c3134..21c5bf82400b 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -3949,6 +3949,8 @@ uno::Reference<accessibility::XAccessibleEditableText>
if (xText.is())
return xText;
}
+ if (xState->contains(accessibility::AccessibleStateType::MANAGES_DESCENDANTS))
+ return uno::Reference< accessibility::XAccessibleEditableText >();
}
for (sal_Int32 i = 0; i < xContext->getAccessibleChildCount(); ++i)