diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-16 09:40:42 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-10-17 15:39:13 +0000 |
commit | 9ac8a57e52a25870d497241c64bff3da0272cf4d (patch) | |
tree | 28841f59f47f03b3cba8a42c3249b299c498c2cd /accessibility | |
parent | a8cfb651ac0d2669d5780b707bfb1efb43f0f34c (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'accessibility')
-rw-r--r-- | accessibility/source/extended/accessiblelistbox.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
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 ); } } } |