loplugin:vclwidgets
Change-Id: Iead7373a76b086dbd96d1d9d4643247762d0522f
This commit is contained in:
@@ -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!" );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user