Kaydet (Commit) 9e13404a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up C-style casts from pointers to void

Change-Id: Ifab61517e0b2e721b85a3e2cc7d927198f1690c4
üst 13e45d6f
......@@ -326,7 +326,7 @@ namespace accessibility
break;
case VCLEVENT_TABBAR_PAGEMOVED:
{
Pair* pPair = (Pair*) rVclWindowEvent.GetData();
Pair* pPair = static_cast<Pair*>(rVclWindowEvent.GetData());
if ( pPair )
MoveChild( pPair->A(), pPair->B() );
}
......
......@@ -69,7 +69,7 @@ void VCLXAccessibleBox::ProcessWindowChildEvent( const VclWindowEvent& rVclWindo
case VCLEVENT_WINDOW_SHOW:
case VCLEVENT_WINDOW_HIDE:
{
vcl::Window* pChildWindow = (vcl::Window *) rVclWindowEvent.GetData();
vcl::Window* pChildWindow = static_cast<vcl::Window *>(rVclWindowEvent.GetData());
// Just compare to the combo box text field. All other children
// are identical to this object in which case this object will
// be removed in a short time.
......
......@@ -464,7 +464,7 @@ void VCLXAccessibleToolBox::UpdateItemEnabled_Impl( sal_Int32 _nPos )
void VCLXAccessibleToolBox::HandleSubToolBarEvent( const VclWindowEvent& rVclWindowEvent, bool _bShow )
{
vcl::Window* pChildWindow = (vcl::Window *) rVclWindowEvent.GetData();
vcl::Window* pChildWindow = static_cast<vcl::Window *>(rVclWindowEvent.GetData());
ToolBox* pToolBox = static_cast< ToolBox* >( GetWindow() );
if ( pChildWindow
&& pToolBox
......@@ -777,7 +777,7 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleToolBox::getAccessibleAtPoint( c
Reference< XAccessible > VCLXAccessibleToolBox::GetItemWindowAccessible( const VclWindowEvent& rVclWindowEvent )
{
Reference< XAccessible > xReturn;
vcl::Window* pChildWindow = (vcl::Window *) rVclWindowEvent.GetData();
vcl::Window* pChildWindow = static_cast<vcl::Window *>(rVclWindowEvent.GetData());
ToolBox* pToolBox = static_cast< ToolBox* >( GetWindow() );
if ( pChildWindow && pToolBox )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment