diff options
Diffstat (limited to 'desktop/source/offacc/acceptor.cxx')
-rw-r--r-- | desktop/source/offacc/acceptor.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx index 7b888524fcb0..39620534bcdf 100644 --- a/desktop/source/offacc/acceptor.cxx +++ b/desktop/source/offacc/acceptor.cxx @@ -188,15 +188,14 @@ void SAL_CALL Acceptor::initialize( const Sequence<Any>& aArguments ) // do we want to enable accepting? sal_Bool bEnable = sal_False; - if ((nArgs == 1 && (aArguments[0] >>= bEnable) ) - || (nArgs == 2 && (aArguments[1] >>= bEnable)) - && bEnable ) + if (((nArgs == 1 && (aArguments[0] >>= bEnable)) || + (nArgs == 2 && (aArguments[1] >>= bEnable))) && + bEnable ) { m_cEnable.set(); bOk = sal_True; } - if (!bOk) { throw IllegalArgumentException( |