diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-06 12:19:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 08:26:01 +0200 |
commit | e5dd156a44625865684b5dfa90a95108259deb50 (patch) | |
tree | bb0da749c95d7fb1929f2c7d8757a53e73720807 /vcl | |
parent | 4cbcec9ed4c51277b00c155a5fa097880c0dee4b (diff) |
loplugin:constantparam
Change-Id: Ie690088d7a7d568703afd22f544628fc8012a7e1
Diffstat (limited to 'vcl')
-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 32917ca6bc5c..f3f7fa3a9c2e 100644 --- a/vcl/source/app/session.cxx +++ b/vcl/source/app/session.cxx @@ -84,7 +84,7 @@ class VCLSession: void SAL_CALL disposing() override; - void callSaveRequested( bool bShutdown, bool bCancelable ); + void callSaveRequested( bool bShutdown ); void callShutdownCancelled(); void callInteractionGranted( bool bGranted ); void callQuit(); @@ -105,7 +105,7 @@ VCLSession::VCLSession() m_xSession->SetCallback( SalSessionEventProc, this ); } -void VCLSession::callSaveRequested( bool bShutdown, bool bCancelable ) +void VCLSession::callSaveRequested( bool bShutdown ) { std::list< Listener > aListeners; { @@ -138,7 +138,7 @@ void VCLSession::callSaveRequested( bool bShutdown, bool bCancelable ) SolarMutexReleaser aReleaser; for( std::list< Listener >::const_iterator it = aListeners.begin(); it != aListeners.end(); ++it ) - it->m_xListener->doSave( bShutdown, bCancelable ); + it->m_xListener->doSave( bShutdown, false/*bCancelable*/ ); } void VCLSession::callInteractionGranted( bool bInteractionGranted ) @@ -218,7 +218,7 @@ void VCLSession::SalSessionEventProc( void* pData, SalSessionEvent* pEvent ) case SaveRequest: { SalSessionSaveRequestEvent* pSEv = static_cast<SalSessionSaveRequestEvent*>(pEvent); - pThis->callSaveRequested( pSEv->m_bShutdown, false ); + pThis->callSaveRequested( pSEv->m_bShutdown ); } break; case ShutdownCancel: |