diff --git a/fpicker/source/office/iodlgimp.cxx b/fpicker/source/office/iodlgimp.cxx index 11e65a035f87..382c7186c094 100644 --- a/fpicker/source/office/iodlgimp.cxx +++ b/fpicker/source/office/iodlgimp.cxx @@ -4,9 +4,9 @@ * * $RCSfile: iodlgimp.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: rt $ $Date: 2007-04-26 08:26:24 $ + * last change: $Author: kz $ $Date: 2008-04-03 16:44:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -514,7 +514,7 @@ void SvtExpFileDlg_Impl::SetStandardDir( const String& _rDir ) } //***************************************************************************** - +#if OSL_DEBUG_LEVEL > 0 //----------------------------------------------------------------------------- namespace { String lcl_DecoratedFilter( const String& _rOriginalFilter ) @@ -525,7 +525,7 @@ namespace { return aDecoratedFilter; } } - +#endif //----------------------------------------------------------------------------- void SvtExpFileDlg_Impl::ClearFilterList( ) @@ -589,18 +589,3 @@ void SvtExpFileDlg_Impl::CreateFilterListControl( Window* _pParent, const ResId& _pLbFilter->SetDropDownLineCount( 10 ); } } - -//----------------------------------------------------------------------------- - -SvtFileDialogFilter_Impl* SvtExpFileDlg_Impl::FindFilter( const String& _rFilterName ) -{ - // simply loop through the filter list and compare names ... - USHORT nPos = _pFilter->Count(); - while ( nPos-- ) - { - SvtFileDialogFilter_Impl* pFilter = _pFilter->GetObject( nPos ); - if ( pFilter->GetName() == _rFilterName ) - return pFilter; - } - return NULL; -}