Tag: cws_src680_dba24 User: fs Date: 05/02/03 00:10:32 Modified: /dba/dbaccess/source/ui/browser/ genericcontroller.cxx
Log: #i40468# +IsFeatureSupported File Changes: Directory: /dba/dbaccess/source/ui/browser/ =========================================== File [changed]: genericcontroller.cxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/browser/genericcontroller.cxx?r1=1.59&r2=1.59.4.1 Delta lines: +15 -3 -------------------- --- genericcontroller.cxx 21 Jan 2005 17:09:05 -0000 1.59 +++ genericcontroller.cxx 3 Feb 2005 08:10:29 -0000 1.59.4.1 @@ -2,9 +2,9 @@ * * $RCSfile: genericcontroller.cxx,v $ * - * $Revision: 1.59 $ + * $Revision: 1.59.4.1 $ * - * last change: $Author: kz $ $Date: 2005/01/21 17:09:05 $ + * last change: $Author: fs $ $Date: 2005/02/03 08:10:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -514,6 +514,18 @@ } } +} + +//------------------------------------------------------------------------------ +sal_Bool OGenericUnoController::IsFeatureSupported( sal_Int32 _nId ) +{ + SupportedFeatures::iterator aFeaturePos = ::std::find_if( + m_aSupportedFeatures.begin(), + m_aSupportedFeatures.end(), + ::std::bind2nd( SupportedFeaturesEqualId(), _nId ) + ); + + return ( m_aSupportedFeatures.end() != aFeaturePos ); } // ----------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
