[Libreoffice-commits] .: vcl/win
Lubos Lunak
llunak at kemper.freedesktop.org
Wed May 9 09:22:12 PDT 2012
vcl/win/source/gdi/winlayout.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f21316fbf0176ee23999504ce03917caac190cb3
Author: LuboÅ¡ LuÅák <l.lunak at suse.cz>
Date: Wed May 9 18:20:23 2012 +0200
conversion to void* needs an explicit cast
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index 72f9cf3..b2a24a7 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -1081,7 +1081,7 @@ static bool InitUSP()
{
// get the usp10.dll version info
HMODULE usp10 = ::GetModuleHandle("usp10.dll");
- void *pScriptIsComplex = ::GetProcAddress(usp10, "ScriptIsComplex");
+ void *pScriptIsComplex = reinterpret_cast< void* >( ::GetProcAddress(usp10, "ScriptIsComplex"));
int nUspVersion = 0;
rtl_uString* pModuleURL = NULL;
osl_getModuleURLFromAddress( pScriptIsComplex, &pModuleURL );
More information about the Libreoffice-commits
mailing list