From 9ac8a57e52a25870d497241c64bff3da0272cf4d Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 16 Oct 2016 09:40:42 +0200 Subject: replace <<= with assign for <<= with rhs Any makeAny and Any ctor return an Any Change-Id: Iaa361bc315d785f80153acf1009bf47d109728ec Reviewed-on: https://gerrit.libreoffice.org/29914 Tested-by: Jenkins Reviewed-by: Jochen Nitschke --- accessibility/source/extended/accessiblelistbox.cxx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'accessibility/source') diff --git a/accessibility/source/extended/accessiblelistbox.cxx b/accessibility/source/extended/accessiblelistbox.cxx index 4436500b83f5..864167c7374a 100644 --- a/accessibility/source/extended/accessiblelistbox.cxx +++ b/accessibility/source/extended/accessiblelistbox.cxx @@ -137,19 +137,19 @@ namespace accessibility } if( pBox && (pBox->HasFocus() || bNeedFocus) ) { - uno::Any aOldValue, aNewValue; + uno::Any aNewValue; SvTreeListEntry* pEntry = static_cast< SvTreeListEntry* >( rVclWindowEvent.GetData() ); if ( pEntry ) { AccessibleListBoxEntry* pEntryFocus =static_cast< AccessibleListBoxEntry* >(m_xFocusedChild.get()); if (pEntryFocus && pEntryFocus->GetSvLBoxEntry() == pEntry) { - aOldValue <<= uno::Any(); aNewValue <<= m_xFocusedChild; - NotifyAccessibleEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED, aOldValue, aNewValue ); + NotifyAccessibleEvent( AccessibleEventId::ACTIVE_DESCENDANT_CHANGED, uno::Any(), aNewValue ); return ; } + uno::Any aOldValue; aOldValue <<= m_xFocusedChild; MAP_ENTRY::iterator mi = m_mapEntry.find(pEntry); @@ -170,9 +170,8 @@ namespace accessibility } else { - aOldValue <<= uno::Any(); aNewValue <<= AccessibleStateType::FOCUSED; - NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, aOldValue, aNewValue ); + NotifyAccessibleEvent( AccessibleEventId::STATE_CHANGED, uno::Any(), aNewValue ); } } } -- cgit