diff options
author | David Tardon <dtardon@redhat.com> | 2011-11-21 10:16:18 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-11-21 10:27:47 +0100 |
commit | d1916dfdb3d9b264c97415c03e7c4eb358dd9cd5 (patch) | |
tree | 96d9273abed74137c89408234ccd00b1f369a69a /vcl/win | |
parent | 81b71b2ca666871780965aeac3eaa166a69d9b72 (diff) |
the string is sal_Unicode, not sal_Char
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) ); } // ----------------------------------------------------------------------- |