summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 12:47:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:54 +0100
commit3aaaab3db773148e246f6fa48da0da4c755b65a9 (patch)
tree9471b86eb29f4a6cb173b28ef09b27c5b7753f63 /dbaccess
parent74f0596ea0f4b7a25ecf4736ec1d6b9fd4d73e05 (diff)
Remove unused OQueryComposer::getSomething
(OQueryComposer does not actually derive from XUnoTunnel.) Change-Id: Ib0d358db2b6a87caae9bbc893dffb25e86109b85
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/api/querycomposer.cxx10
-rw-r--r--dbaccess/source/core/inc/querycomposer.hxx3
2 files changed, 1 insertions, 12 deletions
diff --git a/dbaccess/source/core/api/querycomposer.cxx b/dbaccess/source/core/api/querycomposer.cxx
index 1beb4c0a9baf..0e09c0a7fa73 100644
--- a/dbaccess/source/core/api/querycomposer.cxx
+++ b/dbaccess/source/core/api/querycomposer.cxx
@@ -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" );
diff --git a/dbaccess/source/core/inc/querycomposer.hxx b/dbaccess/source/core/inc/querycomposer.hxx
index 2f17ab1b5e97..7e1ec887bac9 100644
--- a/dbaccess/source/core/inc/querycomposer.hxx
+++ b/dbaccess/source/core/inc/querycomposer.hxx
@@ -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);