mingw tinderbox doesn't know wcscpy_r()

Moreover, according to MSDN, wcscpy() in C++ is a template that doesn't
need the length passed, so this shouldn't make actually anything worse.
This commit is contained in:
Luboš Luňák 2013-01-09 21:12:29 +01:00
parent c57906c8f6
commit 0a28778e9a

View file

@ -2414,7 +2414,7 @@ static void ImplGetKeyNameText( LONG lParam, sal_Unicode* pBuf,
else
{
nKeyLen = aRet.getLength();
wcscpy_s( aKeyBuf, nMaxKeyLen, aRet.getStr() );
wcscpy( aKeyBuf, aRet.getStr() );
}
}