User: kz Date: 2008-05-05 15:52:14+0000 Modified: dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx
Log: INTEGRATION: CWS dba30b (1.30.4); FILE MERGED 2008/04/15 22:12:35 fs 1.30.4.2: RESYNC: (1.30-1.31); FILE MERGED 2008/03/16 14:04:59 fs 1.30.4.1: #i86996# +loadComponent/WithArguments / some re-factoring File Changes: Directory: /dba/dbaccess/source/ui/app/ ======================================= File [changed]: AppDetailPageHelper.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/app/AppDetailPageHelper.cxx?r1=1.31&r2=1.32 Delta lines: +6 -3 ------------------- --- AppDetailPageHelper.cxx 2008-04-10 13:56:17+0000 1.31 +++ AppDetailPageHelper.cxx 2008-05-05 15:52:11+0000 1.32 @@ -39,6 +39,9 @@ #ifndef _TOOLS_DEBUG_HXX #include <tools/debug.hxx> #endif +#ifndef TOOLS_DIAGNOSE_EX_H +#include <tools/diagnose_ex.h> +#endif #ifndef _CONNECTIVITY_DBTOOLS_HXX_ #include <connectivity/dbtools.hxx> #endif @@ -1060,7 +1063,7 @@ if ( m_ePreviewMode == E_DOCUMENT ) aCommand.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("preview")); else - aCommand.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("getdocumentinfo")); + aCommand.Name = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("getDocumentInfo")); Any aPreview = xContent->execute(aCommand,xContent->createCommandIdentifier(),Reference< XCommandEnvironment >()); if ( m_ePreviewMode == E_DOCUMENT ) @@ -1101,9 +1104,9 @@ pTreeView->clearCurrentSelectionEntry(); } } - catch(Exception) + catch( const Exception& ) { - OSL_ENSURE(0,"Exception catched while extracting the preview!"); + DBG_UNHANDLED_EXCEPTION(); } } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
