Kaydet (Commit) d1916dfd authored tarafından David Tardon's avatar David Tardon

the string is sal_Unicode, not sal_Char

üst 81b71b2c
...@@ -2646,7 +2646,7 @@ rtl::OUString WinSalFrame::GetKeyName( sal_uInt16 nKeyCode ) ...@@ -2646,7 +2646,7 @@ rtl::OUString WinSalFrame::GetKeyName( sal_uInt16 nKeyCode )
if( !nKeyBufLen ) if( !nKeyBufLen )
return rtl::OUString(); return rtl::OUString();
return rtl::OUString::createFromAscii( aKeyBuf, sal::static_int_cast< sal_uInt16 >(nKeyBufLen) ); return rtl::OUString( aKeyBuf, sal::static_int_cast< sal_uInt16 >(nKeyBufLen) );
} }
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment