Resolves: fdo#39467 we should throw instead of crashing when \!is()
This commit is contained in:
parent
b74f17642d
commit
bcf50ad172
1 changed files with 2 additions and 2 deletions
|
@ -1333,8 +1333,8 @@ void UnoControl::createPeer( const Reference< XToolkit >& rxToolkit, const Refer
|
|||
sal_Bool bDesignMode(mbDesignMode);
|
||||
|
||||
Reference< XGraphics > xGraphics( mxGraphics );
|
||||
Reference< XView > xView ( getPeer(), UNO_QUERY );
|
||||
Reference< XWindow > xWindow ( getPeer(), UNO_QUERY );
|
||||
Reference< XView > xView ( getPeer(), UNO_QUERY_THROW );
|
||||
Reference< XWindow > xWindow ( getPeer(), UNO_QUERY_THROW );
|
||||
|
||||
aGuard.clear();
|
||||
|
||||
|
|
Loading…
Reference in a new issue