[Libreoffice-commits] core.git: canvas/source
Stephan Bergmann
sbergman at redhat.com
Fri Nov 11 09:31:34 UTC 2016
canvas/source/directx/dx_spritecanvas.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit dd6ea56c028079ce80ff9fc2db43ffd35e4d8489
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Nov 11 10:31:01 2016 +0100
loplugin:vclwidgets
Change-Id: Iead7373a76b086dbd96d1d9d4643247762d0522f
diff --git a/canvas/source/directx/dx_spritecanvas.cxx b/canvas/source/directx/dx_spritecanvas.cxx
index 99ba39c..291c19f 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!" );
More information about the Libreoffice-commits
mailing list