diff options
Diffstat (limited to 'vbahelper')
-rw-r--r-- | vbahelper/source/vbahelper/vbahelper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx index a3bcc5154f62..bddda57aece6 100644 --- a/vbahelper/source/vbahelper/vbahelper.cxx +++ b/vbahelper/source/vbahelper/vbahelper.cxx @@ -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 >() ); |