bool improvements
Change-Id: I75c137c1ed0c6089c5dfa8131ffde76cadda0134
This commit is contained in:
@@ -79,8 +79,7 @@ void SAL_CALL ScriptProtocolHandler::initialize(
|
||||
|
||||
// first argument contains a reference to the frame (may be empty or the desktop,
|
||||
// but usually it's a "real" frame)
|
||||
if ( aArguments.getLength() &&
|
||||
sal_False == ( aArguments[ 0 ] >>= m_xFrame ) )
|
||||
if ( aArguments.getLength() && !( aArguments[ 0 ] >>= m_xFrame ) )
|
||||
{
|
||||
OUString temp = "ScriptProtocolHandler::initialize: could not extract reference to the frame";
|
||||
throw RuntimeException( temp, Reference< XInterface >() );
|
||||
|
Reference in New Issue
Block a user