second try with wcscpy()

On mingw sal_Unicode is not wchar_t (see sal/types.h).
This commit is contained in:
Luboš Luňák 2013-01-09 21:29:52 +01:00
parent 0968c30437
commit f5d047dcb8

View file

@ -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() ));
}
}