summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-14 14:52:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-14 20:30:08 +0000
commit06983ef3c00c5755ef3369c1149c10ba8d3f4d4b (patch)
tree99384a36b7a45b888b5152cd3a083988e8588358 /vcl/source/window/toolbox.cxx
parente867843e76e1a8ce1a0fa85b122485a241dc2baf (diff)
do TODO: replace ImplCallEventListeners() by CallEventListeners() in vcl
Change-Id: If47baad0ec31f18fcb55c7db86fb2a316dd0807f
Diffstat (limited to 'vcl/source/window/toolbox.cxx')
-rw-r--r--vcl/source/window/toolbox.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/window/toolbox.cxx b/vcl/source/window/toolbox.cxx
index 4d2ff5fdcc90..62ac30cea012 100644
--- a/vcl/source/window/toolbox.cxx
+++ b/vcl/source/window/toolbox.cxx
@@ -3592,7 +3592,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
if ( mnCurPos != TOOLBOX_ITEM_NOTFOUND )
{
ImplDrawItem( mnCurPos );
- ImplCallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( mnCurPos ) );
+ CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( mnCurPos ) );
}
mnCurPos = nNewPos;
@@ -3689,7 +3689,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
ImplHideFocus();
sal_uInt16 nPos = GetItemPos( mnHighItemId );
ImplDrawItem( nPos );
- ImplCallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nPos ) );
+ CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nPos ) );
}
if ( mpData->mbMenubuttonSelected )
{
@@ -3699,7 +3699,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
mnHighItemId = it->mnId;
ImplDrawItem( nTempPos, 2 );
ImplShowFocus();
- ImplCallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHT );
+ CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHT );
}
}
}
@@ -3727,7 +3727,7 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
{
ImplDrawItem( nClearPos, (nClearPos == mnCurPos) ? 1 : 0 );
if( nClearPos != mnCurPos )
- ImplCallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nClearPos ) );
+ CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nClearPos ) );
}
ImplHideFocus();
mnHighItemId = 0;
@@ -5301,7 +5301,7 @@ void ToolBox::ImplChangeHighlight( ImplToolItem* pItem, bool bNoGrabFocus )
// set mnHighItemId to 0 already to prevent this hen/egg problem
mnHighItemId = 0;
ImplDrawItem( nPos, 0 );
- ImplCallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nPos ) );
+ CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHTOFF, reinterpret_cast< void* >( nPos ) );
}
if( !bNoGrabFocus && pItem != pOldItem && pOldItem && pOldItem->mpWindow )
@@ -5344,7 +5344,7 @@ void ToolBox::ImplChangeHighlight( ImplToolItem* pItem, bool bNoGrabFocus )
if( pItem->mpWindow )
pItem->mpWindow->GrabFocus();
if( pItem != pOldItem )
- ImplCallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHT );
+ CallEventListeners( VCLEVENT_TOOLBOX_HIGHLIGHT );
}
}
else