diff options
author | Noel Grandin <noel@peralex.com> | 2017-09-20 09:06:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-27 10:39:02 +0200 |
commit | 7c52d86f7b05fe7e0178f6d98a12a531b88a32ff (patch) | |
tree | 13f24e90940baeadbe330b8e1a352734b54f8f75 /vcl/win/app/saltimer.cxx | |
parent | ce8bbb782b806e429ffb44226162967bed244d94 (diff) |
rename mpFirstInstance->mpInstance
Change-Id: I472df5821cb74a16d5ea00a1939b0e1bdf9072aa
Reviewed-on: https://gerrit.libreoffice.org/42518
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/win/app/saltimer.cxx')
-rw-r--r-- | vcl/win/app/saltimer.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/win/app/saltimer.cxx b/vcl/win/app/saltimer.cxx index 1e11a9c4dba5..62fe620b5522 100644 --- a/vcl/win/app/saltimer.cxx +++ b/vcl/win/app/saltimer.cxx @@ -38,7 +38,7 @@ static void CALLBACK SalTimerProc(PVOID pParameter, BOOLEAN bTimerOrWaitFired); void WinSalTimer::ImplStop() { SalData *const pSalData = GetSalData(); - const WinSalInstance *pInst = pSalData->mpFirstInstance; + const WinSalInstance *pInst = pSalData->mpInstance; assert( !pInst || pSalData->mnAppThreadId == GetCurrentThreadId() ); const HANDLE hTimer = m_nTimerId; @@ -60,7 +60,7 @@ void WinSalTimer::ImplStop() void WinSalTimer::ImplStart( sal_uLong nMS ) { SalData* pSalData = GetSalData(); - assert( !pSalData->mpFirstInstance || pSalData->mnAppThreadId == GetCurrentThreadId() ); + assert( !pSalData->mpInstance || pSalData->mnAppThreadId == GetCurrentThreadId() ); // DueTime parameter is a DWORD, which is always an unsigned 32bit if (nMS > SAL_MAX_UINT32) @@ -95,7 +95,7 @@ WinSalTimer::~WinSalTimer() void WinSalTimer::Start( sal_uLong nMS ) { - WinSalInstance *pInst = GetSalData()->mpFirstInstance; + WinSalInstance *pInst = GetSalData()->mpInstance; if ( pInst && !pInst->IsMainThread() ) { BOOL const ret = PostMessageW(pInst->mhComWnd, @@ -108,7 +108,7 @@ void WinSalTimer::Start( sal_uLong nMS ) void WinSalTimer::Stop() { - WinSalInstance *pInst = GetSalData()->mpFirstInstance; + WinSalInstance *pInst = GetSalData()->mpInstance; if ( pInst && !pInst->IsMainThread() ) { BOOL const ret = PostMessageW(pInst->mhComWnd, @@ -131,7 +131,7 @@ static void CALLBACK SalTimerProc(PVOID data, BOOLEAN) // always post message when the timer fires, we will remove the ones // that happened during execution of the callback later directly from // the message queue - BOOL const ret = PostMessageW(GetSalData()->mpFirstInstance->mhComWnd, + BOOL const ret = PostMessageW(GetSalData()->mpInstance->mhComWnd, SAL_MSG_TIMER_CALLBACK, reinterpret_cast<WPARAM>(data), 0); #if OSL_DEBUG_LEVEL > 0 |