diff options
Diffstat (limited to 'dbaccess/source/ui/app/AppController.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index 40bf4cef1ea7..1cbbf0e24897 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -525,7 +525,7 @@ sal_Bool SAL_CALL OApplicationController::suspend(sal_Bool bSuspend) throw( Runt bool bCanSuspend = true; - if ( (m_bSuspended ? 1 : 0) != bSuspend ) + if ( m_bSuspended != bool(bSuspend) ) { if ( bSuspend && !closeSubComponents() ) return sal_False; |