Kaydet (Commit) 74f0596e authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused OSingleSelectQueryComposer::getSomething

(OSingleSelectQueryComposer does not actually derive from XUnoTunnel.)

Change-Id: I4eb26f5d217016e09d1e7e6a4b4bc10fcc5159e6
üst 023c00b7
......@@ -300,16 +300,6 @@ IMPLEMENT_SERVICE_INFO1(OSingleSelectQueryComposer,"org.openoffice.comp.dba.OSin
IMPLEMENT_TYPEPROVIDER3(OSingleSelectQueryComposer,OSubComponent,OSingleSelectQueryComposer_BASE,OPropertyContainer)
IMPLEMENT_PROPERTYCONTAINER_DEFAULTS(OSingleSelectQueryComposer)
// com::sun::star::lang::XUnoTunnel
sal_Int64 SAL_CALL OSingleSelectQueryComposer::getSomething( const Sequence< sal_Int8 >& rId ) throw(RuntimeException)
{
SAL_INFO("dbaccess", "OSingleSelectQueryComposer::getSomething" );
if (rId.getLength() == 16 && 0 == memcmp(getImplementationId().getConstArray(), rId.getConstArray(), 16 ) )
return reinterpret_cast<sal_Int64>(this);
return sal_Int64(0);
}
// XSingleSelectQueryAnalyzer
OUString SAL_CALL OSingleSelectQueryComposer::getQuery( ) throw(RuntimeException, std::exception)
{
......
......@@ -211,8 +211,6 @@ namespace dbaccess
// ::com::sun::star::lang::XTypeProvider
DECLARE_TYPEPROVIDER( );
// 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
DECLARE_XINTERFACE( )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment