[Libreoffice-commits] .: vcl/win
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Jan 9 12:30:44 PST 2013
vcl/win/source/window/salframe.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f5d047dcb80d760d46e90a1dacad206ddf55d827
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Wed Jan 9 21:29:52 2013 +0100
second try with wcscpy()
On mingw sal_Unicode is not wchar_t (see sal/types.h).
diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx
index 11de1f8..235436f 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( aKeyBuf, aRet.getStr() );
+ wcscpy( aKeyBuf, reinterpret_cast< const wchar_t* >( aRet.getStr() ));
}
}
More information about the Libreoffice-commits
mailing list