diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-21 21:53:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-22 08:22:33 +0100 |
commit | 9e1ec4df0bb2f894333ef63f596b08e9ff79bdba (patch) | |
tree | 0601e21e0d8b096884390c70b8a421a09ba4d4c6 /scripting/source/protocolhandler | |
parent | d980ba7a9da88f88da96bd83c79b833d4b8b0033 (diff) |
bool improvements
Change-Id: I75c137c1ed0c6089c5dfa8131ffde76cadda0134
Diffstat (limited to 'scripting/source/protocolhandler')
-rw-r--r-- | scripting/source/protocolhandler/scripthandler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripting/source/protocolhandler/scripthandler.cxx b/scripting/source/protocolhandler/scripthandler.cxx index 1f86d7b1a270..4aa7e2091b7c 100644 --- a/scripting/source/protocolhandler/scripthandler.cxx +++ b/scripting/source/protocolhandler/scripthandler.cxx @@ -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 >() ); |