From 8f7b9a76a69cbe33a9050171a1e139d726857ca1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Apr 2017 16:09:07 +0300 Subject: code reorder to hide as much data as possible --- plugins/TabSRMM/src/msgdlgutils.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp') diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index a05ad3a6f1..3901453004 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -1163,8 +1163,7 @@ void CTabBaseDlg::LoadSplitter() void CTabBaseDlg::PlayIncomingSound() const { - int iPlay = Utils::mustPlaySound(this); - + int iPlay = MustPlaySound(); if (iPlay) { if (GetForegroundWindow() == m_pContainer->m_hwnd && m_pContainer->m_hwndActive == m_hwnd) SkinPlaySound("RecvMsgActive"); @@ -1244,7 +1243,7 @@ void CTabBaseDlg::GetLocaleID(const wchar_t *szKLName) pf2.cbSize = sizeof(pf2); pf2.dwMask = PFM_RTLPARA; m_message.SendMsg(EM_GETPARAFORMAT, 0, (LPARAM)&pf2); - if (Utils::FindRTLLocale(this) && fLocaleNotSet) { + if (FindRTLLocale() && fLocaleNotSet) { if (wCtype2[0] == C2_RIGHTTOLEFT || wCtype2[1] == C2_RIGHTTOLEFT || wCtype2[2] == C2_RIGHTTOLEFT) { memset(&pf2, 0, sizeof(pf2)); pf2.dwMask = PFM_RTLPARA; -- cgit v1.2.3