diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-01-24 14:23:39 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-01-24 14:23:39 +0100 |
commit | dd1243c1733ebdd098e4c3618063bd07d1519f70 (patch) | |
tree | d01ef0a342b9e7069520db2c0914764e0edf373d /dbaccess/source | |
parent | 59288cdab6dc4b5a3fcaf94480d6ee19baa1e07d (diff) |
Fix 59288cdab6dc4b5a3fcaf94480d6ee19baa1e07d
Change-Id: I7f3ae7814b3218a792f8989fd09d4b1642466216
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/browser/AsynchronousLink.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dbaccess/source/ui/browser/AsynchronousLink.cxx b/dbaccess/source/ui/browser/AsynchronousLink.cxx index ac940d445283..6986a79b8452 100644 --- a/dbaccess/source/ui/browser/AsynchronousLink.cxx +++ b/dbaccess/source/ui/browser/AsynchronousLink.cxx @@ -17,13 +17,13 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <dbaccess/AsyncronousLink.hxx> +#include <dbaccess/AsynchronousLink.hxx> #include <vcl/svapp.hxx> #include <tools/debug.hxx> -// OAsyncronousLink +// OAsynchronousLink using namespace dbaui; -OAsyncronousLink::OAsyncronousLink( const Link& _rHandler ) +OAsynchronousLink::OAsynchronousLink( const Link& _rHandler ) :m_aHandler(_rHandler) ,m_aEventSafety() ,m_aDestructionSafety() @@ -31,7 +31,7 @@ OAsyncronousLink::OAsyncronousLink( const Link& _rHandler ) { } -OAsyncronousLink::~OAsyncronousLink() +OAsynchronousLink::~OAsynchronousLink() { { ::osl::MutexGuard aEventGuard( m_aEventSafety ); @@ -49,15 +49,15 @@ OAsyncronousLink::~OAsyncronousLink() } } -void OAsyncronousLink::Call( void* _pArgument ) +void OAsynchronousLink::Call( void* _pArgument ) { ::osl::MutexGuard aEventGuard( m_aEventSafety ); if (m_nEventId) Application::RemoveUserEvent(m_nEventId); - m_nEventId = Application::PostUserEvent( LINK( this, OAsyncronousLink, OnAsyncCall ), _pArgument ); + m_nEventId = Application::PostUserEvent( LINK( this, OAsynchronousLink, OnAsyncCall ), _pArgument ); } -void OAsyncronousLink::CancelCall() +void OAsynchronousLink::CancelCall() { ::osl::MutexGuard aEventGuard( m_aEventSafety ); if ( m_nEventId ) @@ -65,7 +65,7 @@ void OAsyncronousLink::CancelCall() m_nEventId = 0; } -IMPL_LINK(OAsyncronousLink, OnAsyncCall, void*, _pArg) +IMPL_LINK(OAsynchronousLink, OnAsyncCall, void*, _pArg) { { ::osl::MutexGuard aDestructionGuard( m_aDestructionSafety ); |