summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2014-08-22 12:59:03 -0300
committerMarcos Paulo de Souza <marcos.souza.org@gmail.com>2014-08-22 16:33:18 -0500
commit7e2b9fa2132346787bec09c7d590def9a65b9a7f (patch)
treea565b23c227c7e9958c740f9fd04096bde8b4500 /unotools
parent7afacb97a7f8a6f98daba0f5c8dfcd4035218ce4 (diff)
Remove some useless tools/debug.hxx includes
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h header was necessary in some cases because of a macro or a typedef that was needed. Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9 Reviewed-on: https://gerrit.libreoffice.org/11075 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/defaultoptions.cxx3
-rw-r--r--unotools/source/config/fltrcfg.cxx1
-rw-r--r--unotools/source/config/misccfg.cxx1
-rw-r--r--unotools/source/config/saveopt.cxx1
4 files changed, 4 insertions, 2 deletions
diff --git a/unotools/source/config/defaultoptions.cxx b/unotools/source/config/defaultoptions.cxx
index 87145e07c81c..3c30a250228a 100644
--- a/unotools/source/config/defaultoptions.cxx
+++ b/unotools/source/config/defaultoptions.cxx
@@ -22,6 +22,7 @@
#include <unotools/configitem.hxx>
#include <unotools/configmgr.hxx>
#include <tools/debug.hxx>
+#include <tools/solar.h>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/mutex.hxx>
@@ -35,8 +36,6 @@ using namespace osl;
using namespace utl;
using namespace com::sun::star::uno;
-// define ----------------------------------------------------------------
-
#define DEFAULTPATH__ADDIN 0
#define DEFAULTPATH__AUTOCORRECT 1
#define DEFAULTPATH__AUTOTEXT 2
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx
index 6c2c473da3ec..94667443c0df 100644
--- a/unotools/source/config/fltrcfg.cxx
+++ b/unotools/source/config/fltrcfg.cxx
@@ -21,6 +21,7 @@
#include <unotools/fltrcfg.hxx>
#include <tools/debug.hxx>
+#include <tools/solar.h>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
diff --git a/unotools/source/config/misccfg.cxx b/unotools/source/config/misccfg.cxx
index f24a0eb8451a..74666473b99b 100644
--- a/unotools/source/config/misccfg.cxx
+++ b/unotools/source/config/misccfg.cxx
@@ -22,6 +22,7 @@
#include <unotools/configmgr.hxx>
#include <unotools/configitem.hxx>
#include <tools/debug.hxx>
+#include <tools/solar.h>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/mutex.hxx>
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx
index 9d5202c87098..5f0b5c6be1a9 100644
--- a/unotools/source/config/saveopt.cxx
+++ b/unotools/source/config/saveopt.cxx
@@ -22,6 +22,7 @@
#include <unotools/configmgr.hxx>
#include <unotools/configitem.hxx>
#include <tools/debug.hxx>
+#include <tools/solar.h>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Sequence.hxx>