diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-24 10:47:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-24 11:03:58 +0100 |
commit | a2f1be46f29dad0923bee8a93ab1aecdbccb332b (patch) | |
tree | 0902027d570b4ae6dcc6105392188dc7b229cebc /vcl/win/window | |
parent | aba8e26120a6cabe65d43a3f089ee802cfbbe338 (diff) |
sal_Char->char in vcl
Change-Id: I4359b7042f98586e2c9f5529d83d769cdf3d033c
Reviewed-on: https://gerrit.libreoffice.org/85775
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/win/window')
-rw-r--r-- | vcl/win/window/salframe.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx index 4ff89546cfeb..12d37a792def 100644 --- a/vcl/win/window/salframe.cxx +++ b/vcl/win/window/salframe.cxx @@ -2235,7 +2235,7 @@ void WinSalFrame::EndExtTextInput( EndExtTextInputFlags nFlags ) static void ImplGetKeyNameText( LONG lParam, sal_Unicode* pBuf, UINT& rCount, UINT nMaxSize, - const sal_Char* pReplace ) + const char* pReplace ) { static_assert( sizeof( WCHAR ) == sizeof( sal_Unicode ), "must be the same size" ); @@ -2333,9 +2333,9 @@ OUString WinSalFrame::GetKeyName( sal_uInt16 nKeyCode ) sal_uInt16 nCode = nKeyCode & 0x0FFF; sal_uLong nSysCode2 = 0; - const sal_Char* pReplace = nullptr; + const char* pReplace = nullptr; sal_Unicode cSVCode = 0; - sal_Char aFBuf[4]; + char aFBuf[4]; nSysCode = 0; if ( (nCode >= KEY_0) && (nCode <= KEY_9) ) @@ -2348,19 +2348,19 @@ OUString WinSalFrame::GetKeyName( sal_uInt16 nKeyCode ) aFBuf[0] = 'F'; if (nCode <= KEY_F9) { - aFBuf[1] = sal::static_int_cast<sal_Char>('1' + (nCode - KEY_F1)); + aFBuf[1] = sal::static_int_cast<char>('1' + (nCode - KEY_F1)); aFBuf[2] = 0; } else if (nCode <= KEY_F19) { aFBuf[1] = '1'; - aFBuf[2] = sal::static_int_cast<sal_Char>('0' + (nCode - KEY_F10)); + aFBuf[2] = sal::static_int_cast<char>('0' + (nCode - KEY_F10)); aFBuf[3] = 0; } else { aFBuf[1] = '2'; - aFBuf[2] = sal::static_int_cast<sal_Char>('0' + (nCode - KEY_F20)); + aFBuf[2] = sal::static_int_cast<char>('0' + (nCode - KEY_F20)); aFBuf[3] = 0; } pReplace = aFBuf; |