summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/writer/WTable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/writer/WTable.cxx')
-rw-r--r--connectivity/source/drivers/writer/WTable.cxx15
1 files changed, 14 insertions, 1 deletions
diff --git a/connectivity/source/drivers/writer/WTable.cxx b/connectivity/source/drivers/writer/WTable.cxx
index 7c0018fa0948..9e62a667cd28 100644
--- a/connectivity/source/drivers/writer/WTable.cxx
+++ b/connectivity/source/drivers/writer/WTable.cxx
@@ -20,7 +20,6 @@
#include <writer/WTable.hxx>
#include <com/sun/star/sdbc/ColumnValue.hpp>
#include <com/sun/star/sdbc/DataType.hpp>
-#include <com/sun/star/text/XTextDocument.hpp>
#include <com/sun/star/text/XTextTable.hpp>
#include <com/sun/star/text/XTextTablesSupplier.hpp>
#include <com/sun/star/table/XCellRange.hpp>
@@ -30,6 +29,20 @@
#include <writer/WConnection.hxx>
#include <connectivity/sdbcx/VColumn.hxx>
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace text
+{
+class XTextDocument;
+}
+}
+}
+}
+
using namespace ::com::sun::star;
static void lcl_GetDataArea(const uno::Reference<text::XTextTable>& xTable, sal_Int32& rColumnCount, sal_Int32& rRowCount)