diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-09 09:11:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-09 15:45:20 +0200 |
commit | 6e890cf0a75e937128260c91ea0183b826d7059c (patch) | |
tree | daf203a700131f4abd2a82942b4cfe9d701eef39 /connectivity | |
parent | 536bd91e1910ea4cc9aeea123b00785b76063984 (diff) |
Fix some IWYU warnings
Change-Id: Iab61e0a7cac2dc89e6b04875a62894b181aa0ff4
Reviewed-on: https://gerrit.libreoffice.org/54016
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/writer/WTable.cxx | 15 | ||||
-rw-r--r-- | connectivity/source/inc/writer/WDriver.hxx | 14 |
2 files changed, 27 insertions, 2 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) diff --git a/connectivity/source/inc/writer/WDriver.hxx b/connectivity/source/inc/writer/WDriver.hxx index ea457290b74c..47cae04c6e47 100644 --- a/connectivity/source/inc/writer/WDriver.hxx +++ b/connectivity/source/inc/writer/WDriver.hxx @@ -22,7 +22,19 @@ #include <file/FDriver.hxx> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> +namespace com +{ +namespace sun +{ +namespace star +{ +namespace lang +{ +class XMultiServiceFactory; +} +} +} +} namespace connectivity { |