diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-11 10:31:01 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-11 10:31:01 +0100 |
commit | dd6ea56c028079ce80ff9fc2db43ffd35e4d8489 (patch) | |
tree | 9a1d09d887e36b175ca39ef6b5daf4e613a1ee0b /canvas | |
parent | 01be56c648ba615fed45ca6b8492714cbff65863 (diff) |
loplugin:vclwidgets
Change-Id: Iead7373a76b086dbd96d1d9d4643247762d0522f
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/directx/dx_spritecanvas.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_spritecanvas.cxx b/canvas/source/directx/dx_spritecanvas.cxx index 99ba39ceadfb..291c19f704cc 100644 --- a/canvas/source/directx/dx_spritecanvas.cxx +++ b/canvas/source/directx/dx_spritecanvas.cxx @@ -82,7 +82,7 @@ namespace dxcanvas uno::Reference< awt::XWindow > xParentWindow; maArguments[4] >>= xParentWindow; - vcl::Window* pParentWindow = VCLUnoHelper::GetWindow(xParentWindow); + auto pParentWindow = VCLUnoHelper::GetWindow(xParentWindow); if( !pParentWindow ) throw lang::NoSupportException( "Parent window not VCL window, or canvas out-of-process!" ); |