tdf#146619 Remove unused #includes from C/C++ files

Change-Id: Ia8b406b6a59086160a5167480c6d3bde6574ffbe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155029
Tested-by: Jenkins
Tested-by: Gabor Kelemen <kelemeng@ubuntu.com>
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
This commit is contained in:
Venetia Furtado
2023-07-28 19:46:39 -06:00
committed by Gabor Kelemen
parent cfb1e6354e
commit 025f540dba
9 changed files with 6 additions and 13 deletions

6
sal/IwyuFilter_sal.yaml Normal file
View File

@@ -0,0 +1,6 @@
---
assumeFilename: sal/osl/all/log.cxx
excludelist:
sal/osl/all/log.cxx:
#sal_use_syslog required from this file
- salusesyslog.hxx

View File

@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include <rtl/strbuf.hxx>
#include <rtl/string.hxx> #include <rtl/string.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <osl/process.h> #include <osl/process.h>

View File

@@ -18,9 +18,6 @@
*/ */
#include <sal/config.h> #include <sal/config.h>
#include <cstddef>
#include <sal/log.hxx> #include <sal/log.hxx>
#include <osl/module.h> #include <osl/module.h>
#include <osl/module.hxx> #include <osl/module.hxx>

View File

@@ -11,11 +11,9 @@
#include <cassert> #include <cassert>
#include <cstdarg> #include <cstdarg>
#include <cstddef>
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <cstring> #include <cstring>
#include <sstream>
#include <fstream> #include <fstream>

View File

@@ -23,7 +23,6 @@
#include <signalshared.hxx> #include <signalshared.hxx>
#include <osl/diagnose.h>
#include <mutex> #include <mutex>
namespace namespace

View File

@@ -18,9 +18,6 @@
*/ */
#include <sal/config.h> #include <sal/config.h>
#include <typeinfo>
#include <osl/mutex.hxx> #include <osl/mutex.hxx>
#include <salhelper/condition.hxx> #include <salhelper/condition.hxx>
#include <salhelper/dynload.hxx> #include <salhelper/dynload.hxx>

View File

@@ -34,7 +34,6 @@
#include <cppuhelper/exc_hlp.hxx> #include <cppuhelper/exc_hlp.hxx>
#include <osl/conditn.hxx> #include <osl/conditn.hxx>
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx> #include <sal/log.hxx>
#include <salhelper/thread.hxx> #include <salhelper/thread.hxx>
#include <comphelper/diagnose_ex.hxx> #include <comphelper/diagnose_ex.hxx>

View File

@@ -20,7 +20,6 @@
#include <algorithm> #include <algorithm>
#include <com/sun/star/xml/sax/SAXException.hpp> #include <com/sun/star/xml/sax/SAXException.hpp>
#include <rtl/math.h>
#include <sax/fastattribs.hxx> #include <sax/fastattribs.hxx>
#include <utility> #include <utility>

View File

@@ -23,7 +23,6 @@
#include <rtl/math.h> #include <rtl/math.h>
#include <sal/log.hxx> #include <sal/log.hxx>
#include <comphelper/processfactory.hxx> #include <comphelper/processfactory.hxx>
#include <comphelper/sequence.hxx>
#include <cassert> #include <cassert>
#include <optional> #include <optional>