diff options
author | Carsten Driesner <cd@openoffice.org> | 2011-01-12 15:07:10 +0100 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2011-01-12 15:07:10 +0100 |
commit | b7f5f44df674c7e47a8c1597bf082a8292b14efd (patch) | |
tree | f0f0217f060ad2b9587f85c1dfecd427a164bc5d /vcl/source/app/session.cxx | |
parent | 6e295e93909a5920b37e919537badfd6e10d0b94 (diff) |
removetooltypes01: Exchange misleading type sal_uIntPtr with sal_uLong
Diffstat (limited to 'vcl/source/app/session.cxx')
-rw-r--r-- | vcl/source/app/session.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/app/session.cxx b/vcl/source/app/session.cxx index 986db388df79..066d58ce4eec 100644 --- a/vcl/source/app/session.cxx +++ b/vcl/source/app/session.cxx @@ -146,7 +146,7 @@ void VCLSession::callSaveRequested( bool bShutdown, bool bCancelable ) } } - sal_uIntPtr nAcquireCount = Application::ReleaseSolarMutex(); + sal_uLong nAcquireCount = Application::ReleaseSolarMutex(); for( std::list< Listener >::const_iterator it = aListeners.begin(); it != aListeners.end(); ++it ) it->m_xListener->doSave( bShutdown, bCancelable ); Application::AcquireSolarMutex( nAcquireCount ); @@ -174,7 +174,7 @@ void VCLSession::callInteractionGranted( bool bInteractionGranted ) } } - sal_uIntPtr nAcquireCount = Application::ReleaseSolarMutex(); + sal_uLong nAcquireCount = Application::ReleaseSolarMutex(); for( std::list< Listener >::const_iterator it = aListeners.begin(); it != aListeners.end(); ++it ) it->m_xListener->approveInteraction( bInteractionGranted ); @@ -192,7 +192,7 @@ void VCLSession::callShutdownCancelled() m_bInteractionRequested = m_bInteractionDone = m_bInteractionGranted = false; } - sal_uIntPtr nAcquireCount = Application::ReleaseSolarMutex(); + sal_uLong nAcquireCount = Application::ReleaseSolarMutex(); for( std::list< Listener >::const_iterator it = aListeners.begin(); it != aListeners.end(); ++it ) it->m_xListener->shutdownCanceled(); Application::AcquireSolarMutex( nAcquireCount ); @@ -209,7 +209,7 @@ void VCLSession::callQuit() m_bInteractionRequested = m_bInteractionDone = m_bInteractionGranted = false; } - sal_uIntPtr nAcquireCount = Application::ReleaseSolarMutex(); + sal_uLong nAcquireCount = Application::ReleaseSolarMutex(); for( std::list< Listener >::const_iterator it = aListeners.begin(); it != aListeners.end(); ++it ) { Reference< XSessionManagerListener2 > xListener2( it->m_xListener, UNO_QUERY ); |