User: hr Date: 06/06/19 20:09:33 Modified: /dba/dbaccess/source/ui/dlg/ queryfilter.cxx
Log: INTEGRATION: CWS warnings01 (1.28.50); FILE MERGED 2006/03/24 15:36:13 fs 1.28.50.1: #i57457# warning-free code (unxlngi6/.pro + unxsoli4.pro) File Changes: Directory: /dba/dbaccess/source/ui/dlg/ ======================================= File [changed]: queryfilter.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/dlg/queryfilter.cxx?r1=1.28&r2=1.29 Delta lines: +10 -9 -------------------- --- queryfilter.cxx 8 Sep 2005 15:09:03 -0000 1.28 +++ queryfilter.cxx 20 Jun 2006 03:09:30 -0000 1.29 @@ -72,6 +72,9 @@ #ifndef _TOOLS_DEBUG_HXX #include <tools/debug.hxx> #endif +#ifndef TOOLS_DIAGNOSE_EX_H +#include <tools/diagnose_ex.h> +#endif #ifndef _DBAUI_MODULE_DBU_HXX_ #include "moduledbu.hxx" #endif @@ -150,10 +153,10 @@ ,aBT_HELP ( this, ResId( BT_HELP ) ) ,aSTR_NOENTRY ( ResId( STR_NOENTRY ) ) ,aSTR_COMPARE_OPERATORS( ResId( STR_COMPARE_OPERATORS ) ) + ,m_xQueryComposer(_rxComposer) ,m_xColumns( _rxCols ) ,m_xConnection( _rxConnection ) ,m_xMetaData( _rxConnection->getMetaData() ) - ,m_xQueryComposer(_rxComposer) ,m_aPredicateInput( _rxORB, _rxConnection, getParseContext() ) { DBG_CTOR(DlgFilterCrit,NULL); @@ -264,7 +267,7 @@ //------------------------------------------------------------------------------ sal_Int32 DlgFilterCrit::GetOSQLPredicateType(sal_uInt16 nPos,sal_uInt16 nCount) const { - sal_Int32 ePreType; + sal_Int32 ePreType( SQLFilterOperator::EQUAL ); if(nCount == 10) { @@ -460,10 +463,9 @@ } } } - catch( const Exception& e ) + catch( const Exception& ) { - e; // make compiler happy - DBG_ERROR( "DlgFilterCrit::getMatchingColumn: caught an exception!" ); + DBG_UNHANDLED_EXCEPTION(); } return xColumn; @@ -478,10 +480,9 @@ if ( xColumns.is() && xColumns->hasByName( _rFieldName ) ) xColumns->getByName( _rFieldName ) >>= xColumn; } - catch( const Exception& e ) + catch( const Exception& ) { - e; // make compiler happy - DBG_ERROR( "DlgFilterCrit::getMatchingColumn: caught an exception!" ); + DBG_UNHANDLED_EXCEPTION(); } return xColumn; @@ -817,7 +818,7 @@ //------------------------------------------------------------------------------ -IMPL_LINK_INLINE_START( DlgFilterCrit, ListSelectCompHdl, ListBox *, pListBox ) +IMPL_LINK_INLINE_START( DlgFilterCrit, ListSelectCompHdl, ListBox *, /*pListBox*/ ) { EnableLines(); return 0; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
