summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorGabor Kelemen <kelemen.gabor2@nisz.hu>2019-02-28 04:42:42 +0100
committerMiklos Vajna <vmiklos@collabora.com>2019-03-07 14:20:10 +0100
commit754c6af45ac64e2fec04e0bbea571c2892a672d8 (patch)
tree8b53db05afb86cb7ec65f34ed80f20a5ad95621c /basic
parent756d7d7073e0542a7b1ae92cb88bada3530e50e9 (diff)
tdf#42949 Fix IWYU warnings in include/basic/*
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I9dd7984affc4343f148c66077feaac19176adf51 Reviewed-on: https://gerrit.libreoffice.org/68769 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/inc/sbxbase.hxx1
-rw-r--r--basic/source/basmgr/basmgr.cxx2
-rw-r--r--basic/source/classes/propacc.cxx1
-rw-r--r--basic/source/comp/codegen.cxx1
-rw-r--r--basic/source/inc/sbintern.hxx1
-rw-r--r--basic/source/sbx/sbxbase.cxx3
-rw-r--r--basic/source/sbx/sbxcurr.cxx2
-rw-r--r--basic/source/sbx/sbxexec.cxx1
-rw-r--r--basic/source/sbx/sbxobj.cxx2
9 files changed, 13 insertions, 1 deletions
diff --git a/basic/inc/sbxbase.hxx b/basic/inc/sbxbase.hxx
index 561bc77121c9..8271214f45b4 100644
--- a/basic/inc/sbxbase.hxx
+++ b/basic/inc/sbxbase.hxx
@@ -23,6 +23,7 @@
#include <i18nlangtag/lang.h>
#include <basic/sbxdef.hxx>
#include <basic/basicdllapi.h>
+#include <vcl/errcode.hxx>
#include <memory>
#include <vector>
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index e39655abaf9d..31a799eb9191 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -39,6 +39,8 @@
#include <global.hxx>
#include <sbunoobj.hxx>
#include <sbintern.hxx>
+#include <com/sun/star/script/XLibraryContainer.hpp>
+#include <com/sun/star/script/XPersistentLibraryContainer.hpp>
#include <memory>
#include <vector>
diff --git a/basic/source/classes/propacc.cxx b/basic/source/classes/propacc.cxx
index e951c82973ea..f3e8e88f6446 100644
--- a/basic/source/classes/propacc.cxx
+++ b/basic/source/classes/propacc.cxx
@@ -20,6 +20,7 @@
#include <propacc.hxx>
+#include <basic/sberrors.hxx>
#include <basic/sbstar.hxx>
#include <basic/sbuno.hxx>
#include <sbunoobj.hxx>
diff --git a/basic/source/comp/codegen.cxx b/basic/source/comp/codegen.cxx
index eeb610bbed99..dbed7a50ac0b 100644
--- a/basic/source/comp/codegen.cxx
+++ b/basic/source/comp/codegen.cxx
@@ -27,6 +27,7 @@
#include <algorithm>
#include <string_view>
#include <osl/diagnose.h>
+#include <rtl/ustrbuf.hxx>
#include <com/sun/star/script/ModuleType.hpp>
// nInc is the increment size of the buffers
diff --git a/basic/source/inc/sbintern.hxx b/basic/source/inc/sbintern.hxx
index 55345348cff4..ae976c8eb679 100644
--- a/basic/source/inc/sbintern.hxx
+++ b/basic/source/inc/sbintern.hxx
@@ -35,6 +35,7 @@ class SbOLEFactory;
class SbFormFactory;
class SbiInstance;
class SbModule;
+class BasicManager;
class SbiFactory : public SbxFactory
{
diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx
index 6090643955d0..80508a155826 100644
--- a/basic/source/sbx/sbxbase.cxx
+++ b/basic/source/sbx/sbxbase.cxx
@@ -24,6 +24,9 @@
#include <basic/sbx.hxx>
#include <basic/sbxfac.hxx>
+#include <basic/sbxform.hxx>
+#include <basic/sbxmeth.hxx>
+#include <basic/sbxprop.hxx>
#include <sbxbase.hxx>
#include <rtl/instance.hxx>
diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx
index 2bbf15d8d353..a1d274a0bdfd 100644
--- a/basic/source/sbx/sbxcurr.cxx
+++ b/basic/source/sbx/sbxcurr.cxx
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
+#include <rtl/ustrbuf.hxx>
#include <vcl/errcode.hxx>
#include <vcl/svapp.hxx>
diff --git a/basic/source/sbx/sbxexec.cxx b/basic/source/sbx/sbxexec.cxx
index ae1d35671a36..3b831b6a9c2c 100644
--- a/basic/source/sbx/sbxexec.cxx
+++ b/basic/source/sbx/sbxexec.cxx
@@ -22,6 +22,7 @@
#include <basic/sbx.hxx>
#include <basic/sberrors.hxx>
#include <rtl/character.hxx>
+#include <rtl/ustrbuf.hxx>
static SbxVariableRef Element
diff --git a/basic/source/sbx/sbxobj.cxx b/basic/source/sbx/sbxobj.cxx
index d35b2aa0dc16..ece0921f8bc6 100644
--- a/basic/source/sbx/sbxobj.cxx
+++ b/basic/source/sbx/sbxobj.cxx
@@ -26,6 +26,8 @@
#include <tools/stream.hxx>
#include <basic/sbx.hxx>
#include <basic/sberrors.hxx>
+#include <basic/sbxmeth.hxx>
+#include <basic/sbxprop.hxx>
#include <svl/SfxBroadcaster.hxx>
#include "sbxres.hxx"