diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-22 17:09:35 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-24 08:08:00 +0100 |
commit | ad73967e99235a2ba9b5a2106c5d6d0f8efaa1ca (patch) | |
tree | 5b11b7812b84c2647c64d1002bad7ed8a1d1754d /connectivity/source/drivers/file | |
parent | a53577e6ff3629c4e9219616960d89eea9463593 (diff) |
Remove unnecessary extractInterface
Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
Diffstat (limited to 'connectivity/source/drivers/file')
-rw-r--r-- | connectivity/source/drivers/file/FDatabaseMetaData.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/drivers/file/FDatabaseMetaData.cxx b/connectivity/source/drivers/file/FDatabaseMetaData.cxx index 5b123cb3f23e..d952a4ac161f 100644 --- a/connectivity/source/drivers/file/FDatabaseMetaData.cxx +++ b/connectivity/source/drivers/file/FDatabaseMetaData.cxx @@ -30,7 +30,6 @@ #include <tools/urlobj.hxx> #include "file/FDriver.hxx" #include "file/FTable.hxx" -#include <comphelper/extract.hxx> #include <comphelper/processfactory.hxx> #include <tools/debug.hxx> #include <ucbhelper/content.hxx> @@ -419,8 +418,8 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges( aRow[7] = new ORowSetValueDecorator(OUString("NO")); aRows.push_back(aRow); - Reference< XPropertySet> xTable; - ::cppu::extractInterface(xTable,xNames->getByName(*pBegin)); + Reference< XPropertySet> xTable( + xNames->getByName(*pBegin), css::uno::UNO_QUERY); if(xTable.is()) { Reference<XUnoTunnel> xTunnel(xTable,UNO_QUERY); |