From d1916dfdb3d9b264c97415c03e7c4eb358dd9cd5 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 21 Nov 2011 10:16:18 +0100 Subject: the string is sal_Unicode, not sal_Char --- vcl/win/source/window/salframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index b648c7555804..fd0ff89e7ba7 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -2646,7 +2646,7 @@ rtl::OUString WinSalFrame::GetKeyName( sal_uInt16 nKeyCode ) if( !nKeyBufLen ) 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) ); } // ----------------------------------------------------------------------- -- cgit