diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2012-02-22 00:10:04 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2012-02-22 00:52:32 +0100 |
commit | ef026f335902a278f8594d612826508277d81bff (patch) | |
tree | df455bffc4dac7380fbd5dde992ba83b7ecbe804 /vcl/headless/svpinst.cxx | |
parent | unusedcode.easy: vcl: remove DrawNativeControlText() (diff) | |
download | core-ef026f335902a278f8594d612826508277d81bff.tar.gz core-ef026f335902a278f8594d612826508277d81bff.zip |
unusedcode.easy: remove some more
Diffstat (limited to 'vcl/headless/svpinst.cxx')
-rw-r--r-- | vcl/headless/svpinst.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vcl/headless/svpinst.cxx b/vcl/headless/svpinst.cxx index e330dcbc469d..91bbff33de92 100644 --- a/vcl/headless/svpinst.cxx +++ b/vcl/headless/svpinst.cxx @@ -126,29 +126,6 @@ void SvpSalInstance::PostEvent( const SalFrame* pFrame, void* pData, sal_uInt16 Wakeup(); } -void SvpSalInstance::CancelEvent( const SalFrame* pFrame, void* pData, sal_uInt16 nEvent ) -{ - if( osl_acquireMutex( m_aEventGuard ) ) - { - if( ! m_aUserEvents.empty() ) - { - std::list< SalUserEvent >::iterator it = m_aUserEvents.begin(); - do - { - if( it->m_pFrame == pFrame && - it->m_pData == pData && - it->m_nEvent == nEvent ) - { - it = m_aUserEvents.erase( it ); - } - else - ++it; - } while( it != m_aUserEvents.end() ); - } - osl_releaseMutex( m_aEventGuard ); - } -} - void SvpSalInstance::deregisterFrame( SalFrame* pFrame ) { m_aFrames.remove( pFrame ); |