diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-09 21:29:52 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-09 21:30:24 +0100 |
commit | f5d047dcb80d760d46e90a1dacad206ddf55d827 (patch) | |
tree | f28e4d504ecf16bdbced77d2112c0d4d356232a2 | |
parent | 0968c304371a9e49d79f89e99c4ca4bf66f7b649 (diff) |
second try with wcscpy()
On mingw sal_Unicode is not wchar_t (see sal/types.h).
-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 11de1f8a7ee7..235436f797b6 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -2414,7 +2414,7 @@ static void ImplGetKeyNameText( LONG lParam, sal_Unicode* pBuf, else { nKeyLen = aRet.getLength(); - wcscpy( aKeyBuf, aRet.getStr() ); + wcscpy( aKeyBuf, reinterpret_cast< const wchar_t* >( aRet.getStr() )); } } |