diff options
Diffstat (limited to 'vcl/source/window/resource.cxx')
-rw-r--r-- | vcl/source/window/resource.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/resource.cxx b/vcl/source/window/resource.cxx index 8c13006d5349..1bd7da5fc4cf 100644 --- a/vcl/source/window/resource.cxx +++ b/vcl/source/window/resource.cxx @@ -145,7 +145,7 @@ void Window::ImplLoadRes( const ResId& rResId ) if ( nObjMask & WINDOW_EXTRALONG ) { sal_uIntPtr nRes = ReadLongRes(); - SetData( (void*)nRes ); + SetData( reinterpret_cast<void*>(nRes) ); } if ( nObjMask & WINDOW_UNIQUEID ) SetUniqueId( ReadByteStringRes() ); |