Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


https://bugs.freedesktop.org/show_bug.cgi?id=54938

--- Comment #6 from Marcos Souza <marcos.souza.org@gmail.com> ---
Inside chart2, I saw some uses of:

sal_Bool SAL_CALL AccessibleBase::supportsService( const OUString& ServiceName
)
    throw (RuntimeException)
{
    return comphelper::ServiceInfoHelper::supportsService( ServiceName,
getSupportedServiceNames() );
}

And inside comphelper I found this declaration:

/** the base implementation iterates over the service names from
<code>getSupportedServiceNames</code> */
sal_Bool SAL_CALL ServiceInfoHelper::supportsService( const OUString&
ServiceName ) throw(::com::sun::star::uno::RuntimeException)
{
    return supportsService( ServiceName, getSupportedServiceNames() );
}

sal_Bool SAL_CALL ServiceInfoHelper::supportsService( const OUString&
ServiceName, const ::com::sun::star::uno::Sequence< OUString >&
SupportedServices ) throw() 
{
    const OUString * pArray = SupportedServices.getConstArray();
    for( sal_Int32 i = 0; i < SupportedServices.getLength(); i++ )
        if( pArray[i] == ServiceName )
            return sal_True;
    return sal_False;
}

Maybe we want to remove this too?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.