bool improvements
Change-Id: I9eebb02ff295bf5713ce39fabd38a7a0d10b89f4
This commit is contained in:
@@ -216,8 +216,7 @@ getCurrentDoc( const OUString& sKey ) throw (uno::RuntimeException)
|
||||
if ( pCompVar )
|
||||
{
|
||||
aModel = sbxToUnoValue( pCompVar );
|
||||
if ( sal_False == ( aModel >>= xModel ) ||
|
||||
!xModel.is() )
|
||||
if ( !( aModel >>= xModel ) || !xModel.is() )
|
||||
{
|
||||
throw uno::RuntimeException(
|
||||
"Can't extract model from basic ( it's obviously not set yet therefore don't know the current document context)" , uno::Reference< uno::XInterface >() );
|
||||
|
Reference in New Issue
Block a user