Remove unused OQueryComposer::getSomething
(OQueryComposer does not actually derive from XUnoTunnel.) Change-Id: Ib0d358db2b6a87caae9bbc893dffb25e86109b85
This commit is contained in:
parent
74f0596ea0
commit
3aaaab3db7
@ -108,16 +108,6 @@ Sequence< sal_Int8 > SAL_CALL OQueryComposer::getImplementationId() throw (Runti
|
||||
return pId->getImplementationId();
|
||||
}
|
||||
|
||||
// com::sun::star::lang::XUnoTunnel
|
||||
sal_Int64 SAL_CALL OQueryComposer::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
|
||||
{
|
||||
SAL_INFO("dbaccess", "OQueryComposer::getSomething" );
|
||||
if (rId.getLength() == 16 && 0 == memcmp(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
|
||||
return reinterpret_cast<sal_Int64>(this);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Any SAL_CALL OQueryComposer::queryInterface( const Type & rType ) throw(RuntimeException, std::exception)
|
||||
{
|
||||
//SAL_INFO("dbaccess", "OQueryComposer::queryInterface" );
|
||||
|
@ -64,8 +64,7 @@ namespace dbaccess
|
||||
// ::com::sun::star::lang::XTypeProvider
|
||||
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes() throw (::com::sun::star::uno::RuntimeException, std::exception);
|
||||
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw (::com::sun::star::uno::RuntimeException, std::exception);
|
||||
// com::sun::star::lang::XUnoTunnel
|
||||
virtual sal_Int64 SAL_CALL getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& aIdentifier ) throw(::com::sun::star::uno::RuntimeException);
|
||||
|
||||
// ::com::sun::star::uno::XInterface
|
||||
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType )
|
||||
throw(::com::sun::star::uno::RuntimeException, std::exception);
|
||||
|
Loading…
x
Reference in New Issue
Block a user