[Libreoffice-commits] .: vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 9 12:13:39 PST 2013
vcl/win/source/window/salframe.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0a28778e9a2a02382ab5ccd79035500334504f17
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Wed Jan 9 21:12:29 2013 +0100
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.
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 17646f2..11de1f8 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_s( aKeyBuf, nMaxKeyLen, aRet.getStr() );
+ wcscpy( aKeyBuf, aRet.getStr() );
}
}
More information about the Libreoffice-commits
mailing list