diff options
author | skswales <stuart.swales.croftnuisk@gmail.com> | 2016-06-20 18:53:58 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-06-22 19:52:27 +0000 |
commit | 6a17c118f312699ab26147148cd2e7844c41a777 (patch) | |
tree | 41cfa79d2ed2a104af844689e12207e2fcfd0f95 /fpicker/source/win32/folderpicker/MtaFop.cxx | |
parent | dd3e8ad79d5a9757c9a0ed2b0fe82f3bb00dbba4 (diff) |
Work towards tdf#72606 EasyHack _tstring/TCHAR elimination
fpicker module TCHAR elimination and A/W clarity
NB fpicker was already being compiled as UNICODE
Use SendMessageW() as appropriate for clarity
Use SAL_N_ELEMENTS for buffer capacity (number of WCHAR) when retrieving class name
Change-Id: Ie6d0b1df1b9a2fb18f4cdfc51e5d4c3c55c9ca17
Reviewed-on: https://gerrit.libreoffice.org/26526
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'fpicker/source/win32/folderpicker/MtaFop.cxx')
-rw-r--r-- | fpicker/source/win32/folderpicker/MtaFop.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/folderpicker/MtaFop.cxx b/fpicker/source/win32/folderpicker/MtaFop.cxx index 3c3622ae5eea..4c9b9e3744c3 100644 --- a/fpicker/source/win32/folderpicker/MtaFop.cxx +++ b/fpicker/source/win32/folderpicker/MtaFop.cxx @@ -748,8 +748,8 @@ void SAL_CALL CMtaFolderPicker::UnregisterStaRequestWindowClass( ) if ( 0 == s_StaRequestWndRegisterCount ) { - UnregisterClass( - (LPCTSTR)(DWORD_PTR)MAKELONG( s_ClassAtom, 0 ), m_hInstance ); + UnregisterClassA( + (PCSTR)(DWORD_PTR)MAKELONG( s_ClassAtom, 0 ), m_hInstance ); s_ClassAtom = 0; } |