Kaydet (Commit) 462c6fc2 authored tarafından August Sodora's avatar August Sodora

Remove unnecessary includes

üst 5ddab9d8
...@@ -31,41 +31,29 @@ ...@@ -31,41 +31,29 @@
#include <ide_pch.hxx> #include <ide_pch.hxx>
#include <svtools/texteng.hxx> #include "baside2.hxx"
#include <svtools/textview.hxx> #include "brkdlg.hxx"
#include <svtools/xtextedt.hxx> #include "iderdll.hxx"
#include <basic/sbx.hxx> #include "iderdll2.hxx"
#include <comphelper/processfactory.hxx>
#include <com/sun/star/ui/dialogs/XFilePicker.hpp> #include "baside2.hrc"
#include <basic/basrdll.hxx>
#include <com/sun/star/script/ModuleType.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp> #include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilterManager.hpp> #include <com/sun/star/ui/dialogs/XFilterManager.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp> #include <comphelper/processfactory.hxx>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/script/XLibraryContainer2.hpp>
#include <com/sun/star/document/MacroExecMode.hpp>
#include <com/sun/star/script/ModuleType.hpp>
#include <toolkit/helper/vclunohelper.hxx>
#include <sfx2/docfile.hxx> #include <sfx2/docfile.hxx>
#include <basic/basrdll.hxx> #include <svtools/xtextedt.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <baside2.hrc> #include <vcl/msgbox.hxx>
#include <baside2.hxx>
#include <objdlg.hxx>
#include <iderdll.hxx>
#include <iderdll2.hxx>
#include <basobj.hxx>
#include <brkdlg.hxx>
#include <vcl/sound.hxx> #include <vcl/sound.hxx>
#include <unotools/textsearch.hxx>
#include <tools/diagnose_ex.h>
using namespace ::com::sun::star; using namespace ::com::sun::star;
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
#define SPLIT_MARGIN 5 #define SPLIT_MARGIN 5
#define SPLIT_HEIGHT 2 #define SPLIT_HEIGHT 2
......
...@@ -37,47 +37,35 @@ ...@@ -37,47 +37,35 @@
#define _SDR_NODRAGMETHODS #define _SDR_NODRAGMETHODS
#define _SDR_NOXOUTDEV #define _SDR_NOXOUTDEV
#include <ide_pch.hxx> #include "ide_pch.hxx"
#include "basidesh.hrc"
#include <vector> #include "helpid.hrc"
#include <basidesh.hrc>
#include <baside3.hxx> #include "accessibledialogwindow.hxx"
#include <localizationmgr.hxx> #include "baside3.hxx"
#include <accessibledialogwindow.hxx> #include "basidesh.hxx"
#include <dlged.hxx> #include "bastype2.hxx"
#include <dlgedmod.hxx> #include "dlged.hxx"
#include <dlgedview.hxx> #include "dlgeddef.hxx"
#include <dlgeddef.hxx> #include "dlgedmod.hxx"
#include <propbrw.hxx> #include "dlgedview.hxx"
#include "iderdll.hxx"
#include <basobj.hxx> #include "idetemp.hxx"
#include <iderdll.hxx> #include "localizationmgr.hxx"
#include <basidesh.hxx> #include "propbrw.hxx"
#include <idetemp.hxx>
#include <helpid.hrc> #include <com/sun/star/resource/StringResourceWithLocation.hpp>
#include <bastype2.hxx> #include <com/sun/star/ucb/XSimpleFileAccess.hpp>
#include <svx/svdview.hxx> #include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <editeng/unolingu.hxx> #include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilterManager.hpp>
#include <comphelper/processfactory.hxx>
#include <tools/diagnose_ex.h> #include <tools/diagnose_ex.h>
#include <tools/urlobj.hxx> #include <tools/urlobj.hxx>
#include <comphelper/processfactory.hxx> #include <vcl/msgbox.hxx>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <xmlscript/xmldlg_imexp.hxx> #include <xmlscript/xmldlg_imexp.hxx>
#include <com/sun/star/script/XLibraryContainer2.hpp>
#include <svtools/ehdl.hxx>
#include <svtools/langtab.hxx>
#include <com/sun/star/ui/dialogs/XFilePicker.hpp>
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
#include <com/sun/star/ui/dialogs/XFilterManager.hpp>
#include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#include <com/sun/star/ucb/XSimpleFileAccess.hpp>
#include <com/sun/star/resource/XStringResourceResolver.hpp>
#include <com/sun/star/resource/StringResourceWithLocation.hpp>
#include <com/sun/star/task/XInteractionHandler.hpp>
#include <com/sun/star/script/vba/XVBACompatibility.hpp>
using namespace comphelper; using namespace comphelper;
using namespace ::com::sun::star; using namespace ::com::sun::star;
......
...@@ -29,17 +29,11 @@ ...@@ -29,17 +29,11 @@
// MARKER(update_precomp.py): autogen include statement, do not remove // MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_basctl.hxx" #include "precompiled_basctl.hxx"
#include "docsignature.hxx"
#include <basic/sbx.hxx>
#define _SVSTDARR_STRINGS #define _SVSTDARR_STRINGS
#include <svl/svstdarr.hxx>
#include <svl/visitem.hxx>
#include <ide_pch.hxx>
#define _SOLAR__PRIVATE 1 #include "ide_pch.hxx"
// #define _SVX_NOIDERESIDS #define _SOLAR__PRIVATE 1
#define SI_NOCONTROL #define SI_NOCONTROL
#define SI_NOSBXCONTROLS #define SI_NOSBXCONTROLS
...@@ -47,44 +41,30 @@ ...@@ -47,44 +41,30 @@
#define SI_NODRW #define SI_NODRW
#define _VCTRLS_HXX #define _VCTRLS_HXX
#include <basidesh.hrc> #include "basidesh.hrc"
#include <basidesh.hxx> #include "helpid.hrc"
#include <baside2.hxx>
#include <baside3.hxx>
#include <basobj.hxx>
#include <iderdll.hxx>
#include <iderdll2.hxx>
#include <sbxitem.hxx>
#include <managelang.hxx>
#include <localizationmgr.hxx>
#include <helpid.hrc>
#include <moduldlg.hxx>
#include <svtools/texteng.hxx>
#include <svtools/textview.hxx>
#include <svtools/xtextedt.hxx>
#include <tools/urlobj.hxx>
#include <tools/diagnose_ex.h>
#include <sfx2/minfitem.hxx>
#include <sfx2/docfile.hxx>
#include <com/sun/star/task/XStatusIndicator.hpp>
#include <com/sun/star/task/XStatusIndicatorFactory.hpp>
#include <com/sun/star/script/XLibraryContainer.hpp>
#include <com/sun/star/script/XLibraryContainerPassword.hpp>
#include <com/sun/star/frame/XDispatchProvider.hpp>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <algorithm> #include "baside2.hxx"
#include <memory> #include "baside3.hxx"
#include "basobj.hxx"
#include "docsignature.hxx"
#include "iderdll.hxx"
#include "iderdll2.hxx"
#include "localizationmgr.hxx"
#include "managelang.hxx"
#include "moduldlg.hxx"
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/script/XLibraryContainerPassword.hpp>
#include <com/sun/star/task/XStatusIndicatorFactory.hpp>
#include <svl/visitem.hxx>
#include <svtools/xtextedt.hxx>
#include <vcl/msgbox.hxx>
using namespace ::com::sun::star; using namespace ::com::sun::star;
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame; using namespace ::com::sun::star::frame;
class SvxSearchItem;
// until we have some configuration lets just keep // until we have some configuration lets just keep
// persist this value for the process lifetime // persist this value for the process lifetime
bool& lcl_GetSourceLinesEnabledValue() bool& lcl_GetSourceLinesEnabledValue()
......
...@@ -30,11 +30,8 @@ ...@@ -30,11 +30,8 @@
#include "precompiled_basctl.hxx" #include "precompiled_basctl.hxx"
// CLOOKS: // CLOOKS:
//#define _MENUBTN_HXX
#define _SPIN_HXX #define _SPIN_HXX
#define _PRVWIN_HXX #define _PRVWIN_HXX
//#define _FIELD_HXX ***
//#define _TAB_HXX ***
#define _DIALOGS_HXX #define _DIALOGS_HXX
#define _SVRTF_HXX #define _SVRTF_HXX
#define _ISETBRW_HXX #define _ISETBRW_HXX
...@@ -47,20 +44,13 @@ ...@@ -47,20 +44,13 @@
// if without PCH's: // if without PCH's:
#include <ide_pch.hxx> #include <ide_pch.hxx>
#define _SOLAR__PRIVATE 1 #define _SOLAR__PRIVATE 1
#include <basic/sbx.hxx>
#include <svl/hint.hxx>
#include <tools/diagnose_ex.h> #include <tools/diagnose_ex.h>
#include <basidesh.hrc> #include <basidesh.hrc>
#include <basidesh.hxx>
#include <baside2.hxx> #include <baside2.hxx>
#include <basdoc.hxx> #include <basdoc.hxx>
#include <basobj.hxx>
#include <bastypes.hxx>
#include <basicbox.hxx> #include <basicbox.hxx>
#include <objdlg.hxx> #include <objdlg.hxx>
#include <sbxitem.hxx>
#include <tbxctl.hxx> #include <tbxctl.hxx>
#include <iderdll2.hxx> #include <iderdll2.hxx>
#include <basidectrlr.hxx> #include <basidectrlr.hxx>
...@@ -74,16 +64,12 @@ ...@@ -74,16 +64,12 @@
#include <svx/pszctrl.hxx> #include <svx/pszctrl.hxx>
#include <svx/insctrl.hxx> #include <svx/insctrl.hxx>
#include <svx/srchdlg.hxx> #include <svx/srchdlg.hxx>
#include <svx/lboxctrl.hxx>
#include <svx/tbcontrl.hxx> #include <svx/tbcontrl.hxx>
#include <com/sun/star/script/XLibraryContainerPassword.hpp> #include <com/sun/star/script/XLibraryContainerPassword.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/container/XContainer.hpp> #include <com/sun/star/container/XContainer.hpp>
#include <com/sun/star/container/XContainerListener.hpp>
#include <com/sun/star/script/XLibraryContainer.hpp>
#include <svx/xmlsecctrl.hxx> #include <svx/xmlsecctrl.hxx>
#include <sfx2/viewfac.hxx> #include <sfx2/viewfac.hxx>
#include <vcl/msgbox.hxx>
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
using namespace ::com::sun::star; using namespace ::com::sun::star;
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
#include <framework/documentundoguard.hxx> #include <framework/documentundoguard.hxx>
#include <tools/diagnose_ex.h> #include <tools/diagnose_ex.h>
#include <unotools/moduleoptions.hxx> #include <unotools/moduleoptions.hxx>
#include <vcl/msgbox.hxx>
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <ide_pch.hxx> #include <ide_pch.hxx>
#include <vcl/msgbox.hxx>
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
#include <basic/sbx.hxx> #include <basic/sbx.hxx>
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
// MARKER(update_precomp.py): autogen include statement, do not remove // MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_basctl.hxx" #include "precompiled_basctl.hxx"
#include <vcl/msgbox.hxx>
#include <vector> #include <vector>
#include <algorithm> #include <algorithm>
......
...@@ -25,12 +25,11 @@ ...@@ -25,12 +25,11 @@
* for a copy of the LGPLv3 License. * for a copy of the LGPLv3 License.
* *
************************************************************************/ ************************************************************************/
#include <svheader.hxx>
#define ITEMID_SEARCH 0 #define ITEMID_SEARCH 0
#define ITEMID_SIZE 0 #define ITEMID_SIZE 0
#include <vcl/msgbox.hxx> //#include <vcl/msgbox.hxx>
#include <svl/aeitem.hxx> #include <svl/aeitem.hxx>
#include <svl/whiter.hxx> #include <svl/whiter.hxx>
#include <svl/intitem.hxx> #include <svl/intitem.hxx>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "precompiled_basctl.hxx" #include "precompiled_basctl.hxx"
#include <memory> #include <memory>
#include <vcl/msgbox.hxx>
#include <ide_pch.hxx> #include <ide_pch.hxx>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "precompiled_basctl.hxx" #include "precompiled_basctl.hxx"
#include <ide_pch.hxx> #include <ide_pch.hxx>
#include <vcl/msgbox.hxx>
#include <sot/storinfo.hxx> #include <sot/storinfo.hxx>
#include <moduldlg.hrc> #include <moduldlg.hrc>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
#include <memory> #include <memory>
#include <ide_pch.hxx> #include <ide_pch.hxx>
#include <vcl/msgbox.hxx>
#include <moduldlg.hrc> #include <moduldlg.hrc>
#include <moduldlg.hxx> #include <moduldlg.hxx>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <basic/sbx.hxx> #include <basic/sbx.hxx>
#include <vcl/msgbox.hxx>
#include <vcl/cmdevt.hxx> #include <vcl/cmdevt.hxx>
#include <vcl/taskpanelist.hxx> #include <vcl/taskpanelist.hxx>
#include <vcl/sound.hxx> #include <vcl/sound.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment