diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx index 72f9cf3dac35..b2a24a7cb261 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 ); |