summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-10 12:33:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-10 17:39:53 +0100
commit74f0596ea0f4b7a25ecf4736ec1d6b9fd4d73e05 (patch)
treea9b9b35d6a475e52c8e160771d918f05e43ddf21
parent023c00b7c4bcca3c581cee293150e9389e5a1f7b (diff)
Remove unused OSingleSelectQueryComposer::getSomething
(OSingleSelectQueryComposer does not actually derive from XUnoTunnel.) Change-Id: I4eb26f5d217016e09d1e7e6a4b4bc10fcc5159e6
-rw-r--r--dbaccess/source/core/api/SingleSelectQueryComposer.cxx10
-rw-r--r--dbaccess/source/core/inc/SingleSelectQueryComposer.hxx2
2 files changed, 0 insertions, 12 deletions
diff --git a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
index 68cc45624868..2bfb62b000fb 100644
--- a/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
+++ b/dbaccess/source/core/api/SingleSelectQueryComposer.cxx
@@ -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)
{
diff --git a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
index b01f93ff46d8..34ba303ddf40 100644
--- a/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
+++ b/dbaccess/source/core/inc/SingleSelectQueryComposer.hxx
@@ -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( )