vcl/win/source/window/salframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f5d047dcb80d760d46e90a1dacad206ddf55d827 Author: LuboÅ¡ LuÅák <l.lu...@suse.cz> Date: Wed Jan 9 21:29:52 2013 +0100 second try with wcscpy() On mingw sal_Unicode is not wchar_t (see sal/types.h). diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 11de1f8..235436f 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() )); } }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits