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

the 'vcl' module was cleaned.

Change-Id: I3bc7470d08bd5eae46344975293a1f6ae30b30f5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164637
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
This commit is contained in:
Rafał Dobrakowski
2024-03-10 22:31:43 +01:00
committed by Gabor Kelemen
parent 2d472fae8f
commit 7eebe68006
14 changed files with 9 additions and 52 deletions

View File

@@ -7,12 +7,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <math.h>
#include <sal/log.hxx>
#include <comphelper/processfactory.hxx>
#include <cppuhelper/bootstrap.hxx>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
@@ -28,7 +26,6 @@
#include <basegfx/numeric/ftools.hxx>
#include <comphelper/diagnose_ex.hxx>
#include <chrono>
#include <iostream>
#include <test/outputdevice.hxx>

View File

@@ -10,9 +10,6 @@
#include <test/outputdevice.hxx>
#include <cmath>
#include <vector>
namespace vcl::test {
namespace

View File

@@ -18,7 +18,8 @@
*/
#include <headless/BitmapHelper.hxx>
#include <svdata.hxx>
#include <vcl/cairo.hxx>
#include <vcl/svapp.hxx>
#include <utility>
BitmapHelper::BitmapHelper(const SalBitmap& rSourceBitmap, const bool bForceARGB32)

View File

@@ -17,16 +17,18 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vcl/gradient.hxx>
#include <vcl/svapp.hxx>
#include <headless/BitmapHelper.hxx>
#include <headless/CairoCommon.hxx>
#include <dlfcn.h>
#ifdef ANDROID
#include <vcl/cairo.hxx> // for correct compilation in only android
#endif
#include <vcl/BitmapTools.hxx>
#include <SalGradient.hxx>
#include <svdata.hxx>
#include <tools/helpers.hxx>
#include <basegfx/utils/canvastools.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/polygon/b2dpolypolygontools.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/range/b2irange.hxx>
#include <comphelper/configuration.hxx>

View File

@@ -19,12 +19,6 @@
#include <headless/SvpGraphicsBackend.hxx>
#include <sal/log.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <vcl/BitmapTools.hxx>
#include <headless/BitmapHelper.hxx>
SvpGraphicsBackend::SvpGraphicsBackend(CairoCommon& rCairoCommon)
: m_rCairoCommon(rCairoCommon)
{

View File

@@ -21,13 +21,8 @@
#include <sal/log.hxx>
#include <cstring>
#include <vcl/cairo.hxx>
#include <headless/svpbmp.hxx>
#include <headless/svpgdi.hxx>
#include <headless/svpinst.hxx>
#include <basegfx/vector/b2ivector.hxx>
#include <basegfx/range/b2ibox.hxx>
#include <o3tl/safeint.hxx>
#include <tools/helpers.hxx>
#include <vcl/bitmap.hxx>

View File

@@ -17,9 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <rtl/ustrbuf.hxx>
#include <headless/svpdummies.hxx>
#include <headless/svpinst.hxx>
SvpSalObject::~SvpSalObject()
{

View File

@@ -18,8 +18,6 @@
*/
#include <comphelper/lok.hxx>
#include <o3tl/safeint.hxx>
#include <vcl/syswin.hxx>
#include <sal/log.hxx>
#include <headless/svpframe.hxx>

View File

@@ -17,11 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <config_features.h>
#include <memory>
#include <numeric>
#include <headless/svpgdi.hxx>
#include <comphelper/lok.hxx>

View File

@@ -17,17 +17,14 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <config_features.h>
#include <sal/config.h>
#include <mutex>
#include <pthread.h>
#include <sys/time.h>
#include <poll.h>
#include <sal/types.h>
#include <sal/log.hxx>
#include <vcl/virdev.hxx>
#include <vcl/inputtypes.hxx>
@@ -51,7 +48,6 @@
#include <svdata.hxx>
// FIXME: remove when we re-work the svp mainloop
#include <unx/salunxtime.h>
#include <comphelper/lok.hxx>
#include <tools/debug.hxx>
SvpSalInstance* SvpSalInstance::s_pDefaultInstance = nullptr;

View File

@@ -22,14 +22,10 @@
#include <string_view>
#include <vcl/svapp.hxx>
#include <vcl/timer.hxx>
#include <vcl/QueueInfo.hxx>
#include <printerinfomanager.hxx>
#include <jobset.h>
#include <print.h>
#include <salptype.hxx>
#include <svdata.hxx>
#include <unx/genpspgraphics.h>

View File

@@ -17,11 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <sal/config.h>
#include <sal/types.h>
#include <vcl/fontcharmap.hxx>
#include <basegfx/range/b2ibox.hxx>
#include <sal/config.h>
#include <headless/svpgdi.hxx>
#include <font/FontMetricData.hxx>
#include <sallayout.hxx>

View File

@@ -19,8 +19,6 @@
#ifndef IOS
#include <headless/svpbmp.hxx>
#include <headless/svpinst.hxx>
#include <headless/svpvd.hxx>
#include <headless/svpgdi.hxx>

View File

@@ -10,9 +10,7 @@
#include <jsdialog/jsdialogbuilder.hxx>
#include <sal/log.hxx>
#include <comphelper/base64.hxx>
#include <comphelper/lok.hxx>
#include <utility>
#include <vcl/tabpage.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/toolkit/button.hxx>
#include <vcl/toolkit/combobox.hxx>
@@ -23,16 +21,11 @@
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <messagedialog.hxx>
#include <tools/json_writer.hxx>
#include <o3tl/deleter.hxx>
#include <memory>
#include <boost/property_tree/json_parser.hpp>
#include <vcl/jsdialog/executor.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <tools/stream.hxx>
#include <vcl/cvtgrf.hxx>
#include <wizdlg.hxx>
static std::map<OUString, vcl::Window*>& GetLOKPopupsMap()