Tag: cws_src680_dba201 User: oj Date: 05/05/19 23:28:56 Modified: /dba/dbaccess/source/ui/browser/ unodatbr.cxx
Log: #i47846# fix for suspend File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: unodatbr.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/unodatbr.cxx?r1=1.170.2.3&r2=1.170.2.4 Delta lines: +7 -6 ------------------- --- unodatbr.cxx 10 May 2005 06:10:07 -0000 1.170.2.3 +++ unodatbr.cxx 20 May 2005 06:28:53 -0000 1.170.2.4 @@ -2,9 +2,9 @@ * * $RCSfile: unodatbr.cxx,v $ * - * $Revision: 1.170.2.3 $ + * $Revision: 1.170.2.4 $ * - * last change: $Author: oj $ $Date: 2005/05/10 06:10:07 $ + * last change: $Author: oj $ $Date: 2005/05/20 06:28:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -994,18 +994,19 @@ // ----------------------------------------------------------------------- sal_Bool SbaTableQueryBrowser::suspend(sal_Bool bSuspend) throw( RuntimeException ) { + sal_Bool bRet = sal_False; if ( !m_bInSuspend ) { m_bInSuspend = sal_True; if ( rBHelper.bDisposed ) throw DisposedException( ::rtl::OUString(), *this ); - if (!SbaXDataBrowserController::suspend(bSuspend)) - return sal_False; + bRet = SbaXDataBrowserController::suspend(bSuspend); + m_bInSuspend = sal_False; } - return !m_bInSuspend; + return bRet; } // ------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
