Resolves: fdo#39467 we should throw instead of crashing when \!is()

This commit is contained in:
Caolán McNamara 2011-07-28 11:05:47 +01:00
parent b74f17642d
commit bcf50ad172

View file

@ -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();