diff options
Diffstat (limited to 'vcl/source/helper/displayconnectiondispatch.cxx')
-rw-r--r-- | vcl/source/helper/displayconnectiondispatch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/helper/displayconnectiondispatch.cxx b/vcl/source/helper/displayconnectiondispatch.cxx index 5b3731e93a9f..09a6b00dba2b 100644 --- a/vcl/source/helper/displayconnectiondispatch.cxx +++ b/vcl/source/helper/displayconnectiondispatch.cxx @@ -95,11 +95,11 @@ Any SAL_CALL DisplayConnectionDispatch::getIdentifier() return Any(m_ConnectionIdentifier); } -bool DisplayConnectionDispatch::dispatchEvent( void* pData, int nBytes ) +bool DisplayConnectionDispatch::dispatchEvent( void const * pData, int nBytes ) { SolarMutexReleaser aRel; - Sequence< sal_Int8 > aSeq( static_cast<sal_Int8*>(pData), nBytes ); + Sequence< sal_Int8 > aSeq( static_cast<const sal_Int8*>(pData), nBytes ); Any aEvent; aEvent <<= aSeq; ::std::list< css::uno::Reference< XEventHandler > > handlers; |