diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-22 09:42:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-22 09:57:47 +0200 |
commit | 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 (patch) | |
tree | 783dc367eacbe3eef9f226d0735d0137e7245648 /svl | |
parent | 9406ab47a92386d676038e467e555c3c80b46f62 (diff) |
Various #include <sal/log.hxx> fixups
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx>
(and don't make use of it themselves), but many other files happen to depend on
it. Cleaned up some, but something like
grep -FwL sal/log.hxx $(git grep -Elw \
'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx)
shows lots more files that potentially need fixing before the include can be
removed from rtl/string.hxx and rtl/ustring.hxx.
Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/filerec/filerec.cxx | 3 | ||||
-rw-r--r-- | svl/source/items/grabbagitem.cxx | 3 | ||||
-rw-r--r-- | svl/source/items/itempool.cxx | 1 | ||||
-rw-r--r-- | svl/source/items/itemset.cxx | 1 | ||||
-rw-r--r-- | svl/source/items/macitem.cxx | 3 | ||||
-rw-r--r-- | svl/source/items/rngitem.cxx | 3 | ||||
-rw-r--r-- | svl/source/items/srchitem.cxx | 3 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 1 | ||||
-rw-r--r-- | svl/source/numbers/zforfind.cxx | 1 | ||||
-rw-r--r-- | svl/source/numbers/zforlist.cxx | 3 | ||||
-rw-r--r-- | svl/source/numbers/zformat.cxx | 1 | ||||
-rw-r--r-- | svl/source/numbers/zforscan.cxx | 1 | ||||
-rw-r--r-- | svl/source/undo/undo.cxx | 1 |
13 files changed, 25 insertions, 0 deletions
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx index e6ef65309536..172f61f1bfc4 100644 --- a/svl/source/filerec/filerec.cxx +++ b/svl/source/filerec/filerec.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <sal/log.hxx> #include <svl/filerec.hxx> #include <osl/endian.h> diff --git a/svl/source/items/grabbagitem.cxx b/svl/source/items/grabbagitem.cxx index 77558f2eb0c3..8ca9e2c9c0fc 100644 --- a/svl/source/items/grabbagitem.cxx +++ b/svl/source/items/grabbagitem.cxx @@ -7,6 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#include <sal/config.h> + +#include <sal/log.hxx> #include <svl/grabbagitem.hxx> #include <comphelper/sequence.hxx> #include <com/sun/star/beans/PropertyValue.hpp> diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx index b92e0bae185d..62c4aaf6c414 100644 --- a/svl/source/items/itempool.cxx +++ b/svl/source/items/itempool.cxx @@ -23,6 +23,7 @@ #include <stdio.h> #include <osl/diagnose.h> +#include <sal/log.hxx> #include "whassert.hxx" #include <svl/SfxBroadcaster.hxx> #include <svl/smplhint.hxx> diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx index 018a6ae25b0a..04c92fce3627 100644 --- a/svl/source/items/itemset.cxx +++ b/svl/source/items/itemset.cxx @@ -23,6 +23,7 @@ #include <cstdarg> #include <libxml/xmlwriter.h> +#include <sal/log.hxx> #include <svl/itemset.hxx> #include <svl/itempool.hxx> #include <svl/itemiter.hxx> diff --git a/svl/source/items/macitem.cxx b/svl/source/items/macitem.cxx index 73bd8783cb5f..e36c79df52dc 100644 --- a/svl/source/items/macitem.cxx +++ b/svl/source/items/macitem.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <sal/log.hxx> #include <tools/stream.hxx> #include <svl/macitem.hxx> diff --git a/svl/source/items/rngitem.cxx b/svl/source/items/rngitem.cxx index 71e278fdf127..83728de6f7cf 100644 --- a/svl/source/items/rngitem.cxx +++ b/svl/source/items/rngitem.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <sal/log.hxx> #include <tools/stream.hxx> #include <svl/rngitem.hxx> diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx index 5c0808f1b0bf..4a1f981611a5 100644 --- a/svl/source/items/srchitem.cxx +++ b/svl/source/items/srchitem.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <sal/log.hxx> #include <svl/srchitem.hxx> #include <sal/macros.h> #include <osl/diagnose.h> diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index f336920b6799..9eabf2f473f9 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -21,6 +21,7 @@ #include <com/sun/star/lang/XComponent.hpp> +#include <sal/log.hxx> #include <tools/tenccvt.hxx> #include <osl/diagnose.h> #include <comphelper/processfactory.hxx> diff --git a/svl/source/numbers/zforfind.cxx b/svl/source/numbers/zforfind.cxx index c5e1e87bee24..740e8d152acd 100644 --- a/svl/source/numbers/zforfind.cxx +++ b/svl/source/numbers/zforfind.cxx @@ -22,6 +22,7 @@ #include <float.h> #include <errno.h> #include <comphelper/string.hxx> +#include <sal/log.hxx> #include <tools/date.hxx> #include <rtl/math.hxx> #include <unotools/charclass.hxx> diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx index c941c6798e0c..341928408f13 100644 --- a/svl/source/numbers/zforlist.cxx +++ b/svl/source/numbers/zforlist.cxx @@ -17,6 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <sal/config.h> + +#include <sal/log.hxx> #include <svl/zforlist.hxx> #include <svl/currencytable.hxx> diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 9b22cacf26be..5a7d557b866e 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -23,6 +23,7 @@ #include <errno.h> #include <stdlib.h> #include <comphelper/string.hxx> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <osl/diagnose.h> #include <i18nlangtag/mslangid.hxx> diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx index c8835b30fc38..ba942391f668 100644 --- a/svl/source/numbers/zforscan.cxx +++ b/svl/source/numbers/zforscan.cxx @@ -20,6 +20,7 @@ #include <stdlib.h> #include <comphelper/string.hxx> +#include <sal/log.hxx> #include <tools/debug.hxx> #include <i18nlangtag/mslangid.hxx> #include <unotools/charclass.hxx> diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx index 41e2c6a10054..0d967f86f24e 100644 --- a/svl/source/undo/undo.cxx +++ b/svl/source/undo/undo.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/uno/Exception.hpp> #include <osl/mutex.hxx> +#include <sal/log.hxx> #include <comphelper/flagguard.hxx> #include <tools/diagnose_ex.h> #include <libxml/xmlwriter.h> |