diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-01-09 21:12:29 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-01-09 21:12:29 +0100 |
commit | 0a28778e9a2a02382ab5ccd79035500334504f17 (patch) | |
tree | 291b77dc85f5d0ba8f02f6972c12e22fca2550b5 /vcl | |
parent | c57906c8f614047a488eea6eb77c535bf90a889e (diff) |
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.
Diffstat (limited to 'vcl')
-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 17646f287d98..11de1f8a7ee7 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() ); } } |