From bce3ed11a4838865b53dccdde887d4cba0d48111 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 4 Apr 2018 15:32:15 +0200 Subject: fix bug in AccessibleListBoxEntry::implGetParentAccessible() ever since commit 395d9fb1b1cc3ae3bf8ea722ea8fe25490f62589 Date: Wed Jun 27 14:32:58 2007 +0000 INTEGRATION: CWS a11ysep (1.1.2); FILE ADDED found by my new unusedvariablemore plugin Change-Id: Ibdb882352af03d5f786e07db5f549df7fcf76de2 Reviewed-on: https://gerrit.libreoffice.org/52384 Tested-by: Jenkins Reviewed-by: Noel Grandin --- accessibility/source/extended/accessiblelistboxentry.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accessibility') diff --git a/accessibility/source/extended/accessiblelistboxentry.cxx b/accessibility/source/extended/accessiblelistboxentry.cxx index 9868b47c09a9..2c9bafee467c 100644 --- a/accessibility/source/extended/accessiblelistboxentry.cxx +++ b/accessibility/source/extended/accessiblelistboxentry.cxx @@ -329,7 +329,7 @@ namespace accessibility aParentPath.pop_back(); // get the entry for this shortened access path - SvTreeListEntry* pParentEntry = getListBox()->GetEntryFromPath( m_aEntryPath ); + SvTreeListEntry* pParentEntry = getListBox()->GetEntryFromPath( aParentPath ); OSL_ENSURE( pParentEntry, "AccessibleListBoxEntry::implGetParentAccessible: could not obtain a parent entry!" ); if ( pParentEntry ) -- cgit