vcl/win/source/window/salframe.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0a28778e9a2a02382ab5ccd79035500334504f17
Author: Luboš Luňák <l.lu...@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() );
         }
     }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to