From 9f387fa51c138e9a01d097990e17294840aaa473 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 28 Apr 2015 11:26:28 +0200 Subject: css.awt.ItemEvent.Highlighted is of type long Change-Id: Iff42783f04a9a037a6183784478ea66b04aa7d32 --- toolkit/source/awt/vclxwindows.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'toolkit') diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index a8c8cc0c4cd5..cf3aa4fb8bdb 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -1032,7 +1032,7 @@ void VCLXCheckBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { ::com::sun::star::awt::ItemEvent aEvent; aEvent.Source = (::cppu::OWeakObject*)this; - aEvent.Highlighted = sal_False; + aEvent.Highlighted = 0; aEvent.Selected = pCheckBox->GetState(); maItemListeners.itemStateChanged( aEvent ); } @@ -1330,7 +1330,7 @@ void VCLXRadioButton::ImplClickedOrToggled( bool bToggled ) { ::com::sun::star::awt::ItemEvent aEvent; aEvent.Source = (::cppu::OWeakObject*)this; - aEvent.Highlighted = sal_False; + aEvent.Highlighted = 0; aEvent.Selected = pRadioButton->IsChecked() ? 1 : 0; maItemListeners.itemStateChanged( aEvent ); } @@ -2049,7 +2049,7 @@ void VCLXListBox::ImplCallItemListeners() { ::com::sun::star::awt::ItemEvent aEvent; aEvent.Source = (::cppu::OWeakObject*)this; - aEvent.Highlighted = sal_False; + aEvent.Highlighted = 0; // Set to 0xFFFF on multiple selection, selected entry ID otherwise aEvent.Selected = (pListBox->GetSelectEntryCount() == 1 ) ? pListBox->GetSelectEntryPos() : 0xFFFF; @@ -4469,7 +4469,7 @@ void VCLXComboBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) { ::com::sun::star::awt::ItemEvent aEvent; aEvent.Source = (::cppu::OWeakObject*)this; - aEvent.Highlighted = sal_False; + aEvent.Highlighted = 0; // Set to 0xFFFF on multiple selection, selected entry ID otherwise aEvent.Selected = pComboBox->GetEntryPos( pComboBox->GetText() ); -- cgit v1.2.3