summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-28 11:26:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 13:44:15 +0200
commit9f387fa51c138e9a01d097990e17294840aaa473 (patch)
tree2ebb5a808259c55b52f23c613c86013a0ae5922b
parent4a8f12391dd46f48fe8df12b889ac5c221b18402 (diff)
css.awt.ItemEvent.Highlighted is of type long
Change-Id: Iff42783f04a9a037a6183784478ea66b04aa7d32
-rw-r--r--svx/source/fmcomp/gridcell.cxx6
-rw-r--r--toolkit/source/awt/vclxwindows.cxx8
2 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/fmcomp/gridcell.cxx b/svx/source/fmcomp/gridcell.cxx
index ca3e34fc4ae0..5a0b5b62bdf0 100644
--- a/svx/source/fmcomp/gridcell.cxx
+++ b/svx/source/fmcomp/gridcell.cxx
@@ -3986,7 +3986,7 @@ void FmXCheckBoxCell::onWindowEvent( const sal_uIntPtr _nEventId, const vcl::Win
{
awt::ItemEvent aEvent;
aEvent.Source = *this;
- aEvent.Highlighted = sal_False;
+ aEvent.Highlighted = 0;
aEvent.Selected = m_pBox->GetState();
m_aItemListeners.notifyEach( &awt::XItemListener::itemStateChanged, aEvent );
}
@@ -4312,7 +4312,7 @@ void FmXListBoxCell::onWindowEvent( const sal_uIntPtr _nEventId, const vcl::Wind
::com::sun::star::awt::ItemEvent aEvent;
aEvent.Source = *this;
- aEvent.Highlighted = sal_False;
+ aEvent.Highlighted = 0;
// Bei Mehrfachselektion 0xFFFF, sonst die ID
aEvent.Selected = (m_pBox->GetSelectEntryCount() == 1 )
@@ -4514,7 +4514,7 @@ void FmXComboBoxCell::onWindowEvent( const sal_uIntPtr _nEventId, const vcl::Win
{
awt::ItemEvent aEvent;
aEvent.Source = *this;
- aEvent.Highlighted = sal_False;
+ aEvent.Highlighted = 0;
// Bei Mehrfachselektion 0xFFFF, sonst die ID
aEvent.Selected = ( m_pComboBox->GetSelectEntryCount() == 1 )
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() );