User: hr Date: 2008-04-22 15:19:48+0000 Modified: dba/dbaccess/source/ui/browser/unodatbr.cxx
Log: INTEGRATION: CWS hr50 (1.193.6); FILE MERGED 2008/04/11 12:26:38 hr 1.193.6.1: #i86574#: fix warning (gcc-4.2.3) 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.198&r2=1.199 Delta lines: +6 -3 ------------------- --- unodatbr.cxx 2008-04-10 14:12:36+0000 1.198 +++ unodatbr.cxx 2008-04-22 15:19:46+0000 1.199 @@ -352,8 +352,9 @@ Reference< XContainer > xDatasourceContainer(m_xDatabaseContext, UNO_QUERY); if (xDatasourceContainer.is()) xDatasourceContainer->addContainerListener(this); - else + else { DBG_ERROR("SbaTableQueryBrowser::Construct: the DatabaseContext should allow us to be a listener!"); + } // the collator for the string compares m_xCollator = Reference< XCollator >(getORB()->createInstance(::rtl::OUString::createFromAscii("com.sun.star.i18n.Collator")), UNO_QUERY); @@ -2089,9 +2090,10 @@ pEntryData->xContainer = xQueryDefs; bSuccess = pEntryData->xContainer.is(); } - else + else { DBG_ERROR("SbaTableQueryBrowser::ensureEntryObject: no XQueryDefinitionsSupplier interface!"); } + } catch(Exception&) { DBG_ERROR("SbaTableQueryBrowser::ensureEntryObject: caught an exception while retrieving the queries container!"); @@ -2614,8 +2616,9 @@ delete pData; m_pTreeModel->Remove(pDSLoop); } - else + else { DBG_ERROR("SbaTableQueryBrowser::elementRemoved: unknown datasource name!"); + } // maybe the object which is part of the document data source has been removed checkDocumentDataSource(); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
