summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/writer/WTables.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/writer/WTables.cxx')
-rw-r--r--connectivity/source/drivers/writer/WTables.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/connectivity/source/drivers/writer/WTables.cxx b/connectivity/source/drivers/writer/WTables.cxx
index 5f450cd802e6..685a5b778c54 100644
--- a/connectivity/source/drivers/writer/WTables.cxx
+++ b/connectivity/source/drivers/writer/WTables.cxx
@@ -27,6 +27,7 @@
#include "file/FCatalog.hxx"
#include "file/FConnection.hxx"
#include "writer/WCatalog.hxx"
+#include "writer/WTable.hxx"
using namespace ::com::sun::star;
@@ -35,10 +36,11 @@ namespace connectivity
namespace writer
{
-sdbcx::ObjectType OWriterTables::createObject(const OUString& /*rName*/)
+sdbcx::ObjectType OWriterTables::createObject(const OUString& rName)
{
- sdbcx::ObjectType xRet;
- SAL_WARN("connectivity.writer", "TODO implement OWriterTables::createObject()");
+ OWriterTable* pTable = new OWriterTable(this, static_cast<OWriterConnection*>(static_cast<file::OFileCatalog&>(m_rParent).getConnection()), rName, "TABLE");
+ sdbcx::ObjectType xRet = pTable;
+ pTable->construct();
return xRet;
}