diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-14 22:52:35 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-17 11:06:53 +0100 |
commit | 6a0fe37dec107392fbe468a35b89071b9a93d2c1 (patch) | |
tree | 4334feae68fa1ddc1ef293cd46ef483f44081c1c /connectivity | |
parent | 30f3b36e07ce37a3fe1909fb4b1419a00d2fdd81 (diff) |
sal: clean up public headers with include-what-you-use
Sadly cannot forward declare "struct {...} TimeValue;".
rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h
was painful enough for now...
Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
Diffstat (limited to 'connectivity')
8 files changed, 9 insertions, 1 deletions
diff --git a/connectivity/source/commontools/AutoRetrievingBase.cxx b/connectivity/source/commontools/AutoRetrievingBase.cxx index 9157e3302680..ac573acfce80 100644 --- a/connectivity/source/commontools/AutoRetrievingBase.cxx +++ b/connectivity/source/commontools/AutoRetrievingBase.cxx @@ -19,6 +19,8 @@ #include "AutoRetrievingBase.hxx" +#include <osl/diagnose.h> + namespace connectivity { OUString OAutoRetrievingBase::getTransformedGeneratedStatement(const OUString& _sInsertStatement) const diff --git a/connectivity/source/commontools/sqlerror.cxx b/connectivity/source/commontools/sqlerror.cxx index 39e46dbb02c2..37c4e655991f 100644 --- a/connectivity/source/commontools/sqlerror.cxx +++ b/connectivity/source/commontools/sqlerror.cxx @@ -25,6 +25,7 @@ #include <comphelper/officeresourcebundle.hxx> #include <cppuhelper/exc_hlp.hxx> #include <rtl/ustrbuf.hxx> +#include <osl/diagnose.h> #include <string.h> diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx index 9976b55a64b1..8639743f3b55 100644 --- a/connectivity/source/cpool/ZPoolCollection.cxx +++ b/connectivity/source/cpool/ZPoolCollection.cxx @@ -30,6 +30,7 @@ #include <comphelper/processfactory.hxx> #include <cppuhelper/supportsservice.hxx> #include <com/sun/star/beans/XPropertySet.hpp> +#include <osl/diagnose.h> #include "diagnose_ex.h" using namespace ::com::sun::star::uno; diff --git a/connectivity/source/drivers/hsqldb/HStorageAccess.cxx b/connectivity/source/drivers/hsqldb/HStorageAccess.cxx index 8416f41abaa2..d3cb62b889b0 100644 --- a/connectivity/source/drivers/hsqldb/HStorageAccess.cxx +++ b/connectivity/source/drivers/hsqldb/HStorageAccess.cxx @@ -26,6 +26,7 @@ #include "hsqldb/StorageNativeInputStream.h" #include "accesslog.hxx" #include "diagnose_ex.h" +#include <osl/diagnose.h> #include <string.h> diff --git a/connectivity/source/drivers/hsqldb/HStorageMap.cxx b/connectivity/source/drivers/hsqldb/HStorageMap.cxx index 08e660d67b13..8e30cfe3697c 100644 --- a/connectivity/source/drivers/hsqldb/HStorageMap.cxx +++ b/connectivity/source/drivers/hsqldb/HStorageMap.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/lang/DisposedException.hpp> #include "diagnose_ex.h" +#include <osl/diagnose.h> #include <osl/thread.h> #include <o3tl/compat_functional.hxx> diff --git a/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx b/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx index a39f617e416f..d6ca0cf1b89e 100644 --- a/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx +++ b/connectivity/source/drivers/hsqldb/StorageFileAccess.cxx @@ -25,7 +25,7 @@ #include <com/sun/star/embed/XStorage.hpp> #include "hsqldb/StorageFileAccess.h" #include "hsqldb/HStorageMap.hxx" - +#include <osl/diagnose.h> using namespace ::com::sun::star::container; diff --git a/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx b/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx index cfe2a60d5b31..a0ea03530a3a 100644 --- a/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx +++ b/connectivity/source/drivers/hsqldb/StorageNativeInputStream.cxx @@ -33,6 +33,7 @@ #include <jvmaccess/virtualmachine.hxx> #include <com/sun/star/lang/XSingleComponentFactory.hpp> +#include <osl/diagnose.h> #include "accesslog.hxx" #include <limits> diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx index 9b36e68f2fd0..c66a68f64226 100644 --- a/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx +++ b/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx @@ -19,6 +19,7 @@ #include "MNSINIParser.hxx" #include <rtl/byteseq.hxx> +#include <osl/diagnose.h> IniParser::IniParser(OUString const & rIniName) throw(com::sun::star::io::IOException ) { |