loplugin:vclwidgets

Change-Id: Iead7373a76b086dbd96d1d9d4643247762d0522f
This commit is contained in:
Stephan Bergmann
2016-11-11 10:31:01 +01:00
parent 01be56c648
commit dd6ea56c02

View File

@@ -82,7 +82,7 @@ namespace dxcanvas
uno::Reference< awt::XWindow > xParentWindow; uno::Reference< awt::XWindow > xParentWindow;
maArguments[4] >>= xParentWindow; maArguments[4] >>= xParentWindow;
vcl::Window* pParentWindow = VCLUnoHelper::GetWindow(xParentWindow); auto pParentWindow = VCLUnoHelper::GetWindow(xParentWindow);
if( !pParentWindow ) if( !pParentWindow )
throw lang::NoSupportException( "Parent window not VCL window, or canvas out-of-process!" ); throw lang::NoSupportException( "Parent window not VCL window, or canvas out-of-process!" );