summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-22 08:54:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-22 16:29:39 +0000
commitc9562064740baed3a9978723c5fe77b44a13a7aa (patch)
tree6dd881b207d12f31f9645d43c0885fbb6fcc69ff /vcl
parentc294a21d6644ccdda63824da525621f77f4a7eac (diff)
make GetAccessibleRelationMemberOf use SetAccessibleRelationMemberOf values
Change-Id: Ia413ac220c8d942576c29be6238c75c5061ec156
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dlgctrl.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx
index 28b09105ebb5..be3697ea13d6 100644
--- a/vcl/source/window/dlgctrl.cxx
+++ b/vcl/source/window/dlgctrl.cxx
@@ -1334,6 +1334,9 @@ Window* Window::GetAccessibleRelationLabeledBy() const
Window* Window::GetAccessibleRelationMemberOf() const
{
+ if ( mpWindowImpl->mpAccessibleInfos && mpWindowImpl->mpAccessibleInfos->pMemberOfWindow )
+ return mpWindowImpl->mpAccessibleInfos->pMemberOfWindow;
+
Window* pWindow = NULL;
Window* pFrameWindow = GetParent();
if ( !pFrameWindow )