summaryrefslogtreecommitdiff
path: root/vcl/source/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-13 09:55:03 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-13 09:56:16 +0000
commita6fed7a19befa5673403ec5fe3ab69a91475da3a (patch)
treec692d0ca693a2acfb7da3d1a2e915c79d5e0ebcd /vcl/source/helper
parent5a247505a36ccdb911e48f0d859572f56ec4b171 (diff)
loplugin:unusedmethods vcl
Change-Id: I53c66b7898f4e0a66e6172d22c6f782dadaf6589 Reviewed-on: https://gerrit.libreoffice.org/16975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/source/helper')
-rw-r--r--vcl/source/helper/xconnection.cxx19
1 files changed, 0 insertions, 19 deletions
diff --git a/vcl/source/helper/xconnection.cxx b/vcl/source/helper/xconnection.cxx
index 5b64d8624d2c..1d7741077445 100644
--- a/vcl/source/helper/xconnection.cxx
+++ b/vcl/source/helper/xconnection.cxx
@@ -124,23 +124,4 @@ bool DisplayConnection::dispatchEvent( void* pData, int nBytes )
return false;
}
-bool DisplayConnection::dispatchErrorEvent( void* pData, int nBytes )
-{
- SolarMutexReleaser aRel;
-
- Sequence< sal_Int8 > aSeq( static_cast<sal_Int8*>(pData), nBytes );
- Any aEvent;
- aEvent <<= aSeq;
- ::std::list< css::uno::Reference< XEventHandler > > handlers;
- {
- MutexGuard aGuard( m_aMutex );
- handlers = m_aErrorHandlers;
- }
- for( ::std::list< css::uno::Reference< XEventHandler > >::const_iterator it = handlers.begin(); it != handlers.end(); ++it )
- if( (*it)->handleEvent( aEvent ) )
- return true;
-
- return false;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */