[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Mon Feb 17 18:04:52 CET 2014
vcl/source/window/layout.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit 685ec1899435037205d98a102a32ca8b6a4836d0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Feb 17 16:57:44 2014 +0000
Related: fdo#74284 try AccessibleRole::PANEL for VclBoxes under windows
Change-Id: Ic8c743c2646c8610b3d90425024413b40dfdab13
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 4cfdc80..344e4b5 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -322,7 +322,13 @@ bool VclBox::set_property(const OString &rKey, const OString &rValue)
sal_uInt16 VclBox::getDefaultAccessibleRole() const
{
+#if defined(WNT)
+ //fdo#74284 call Boxes Panels, keep then as "Filler" under
+ //at least Linux seeing as that's what Gtk does for GtkBoxes
+ return com::sun::star::accessibility::AccessibleRole::PANEL;
+#else
return com::sun::star::accessibility::AccessibleRole::FILLER;
+#endif
}
#define DEFAULT_CHILD_MIN_WIDTH 85
More information about the Libreoffice-commits
mailing list