diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 11:26:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-28 13:44:15 +0200 |
commit | 9f387fa51c138e9a01d097990e17294840aaa473 (patch) | |
tree | 2ebb5a808259c55b52f23c613c86013a0ae5922b /toolkit/source/awt | |
parent | 4a8f12391dd46f48fe8df12b889ac5c221b18402 (diff) |
css.awt.ItemEvent.Highlighted is of type long
Change-Id: Iff42783f04a9a037a6183784478ea66b04aa7d32
Diffstat (limited to 'toolkit/source/awt')
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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() ); |