diff options
author | Jorenz Paragas <j.paragas.237@gmail.com> | 2016-06-12 16:57:39 -0700 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-06-13 11:38:03 +0000 |
commit | 1812a6467defa244c2002dec6b055ad3983e5883 (patch) | |
tree | 049eabcd98ea5764a3b8f3538456e78ac4c329d9 /sc/source/ui/vba | |
parent | 26772e210d131e1566309c79c739519d810be7d7 (diff) |
tdf#42949: clean up includes in include/vbahelper with iwyu
Change-Id: Iaf93ff58229e9362b03b3e810611e969ef8baf38
Reviewed-on: https://gerrit.libreoffice.org/26206
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/ui/vba')
24 files changed, 29 insertions, 0 deletions
diff --git a/sc/source/ui/vba/excelvbahelper.cxx b/sc/source/ui/vba/excelvbahelper.cxx index 044668e7948e..e381c399dcc7 100644 --- a/sc/source/ui/vba/excelvbahelper.cxx +++ b/sc/source/ui/vba/excelvbahelper.cxx @@ -19,6 +19,7 @@ #include "excelvbahelper.hxx" +#include <basic/basmgr.hxx> #include <comphelper/processfactory.hxx> #include <com/sun/star/sheet/XSheetCellRange.hpp> #include <com/sun/star/sheet/GlobalSheetSettings.hpp> diff --git a/sc/source/ui/vba/vbaapplication.cxx b/sc/source/ui/vba/vbaapplication.cxx index 2ea30e522685..5f3d8529fd24 100644 --- a/sc/source/ui/vba/vbaapplication.cxx +++ b/sc/source/ui/vba/vbaapplication.cxx @@ -33,6 +33,7 @@ #include <ooo/vba/XExecutableDialog.hpp> #include <ooo/vba/excel/XlCalculation.hpp> #include <ooo/vba/excel/XlMousePointer.hpp> +#include <ooo/vba/office/MsoShapeType.hpp> #include "vbaapplication.hxx" #include "vbaworkbooks.hxx" @@ -58,6 +59,7 @@ #include <osl/file.hxx> #include <rtl/instance.hxx> +#include <sfx2/bindings.hxx> #include <sfx2/request.hxx> #include <sfx2/objsh.hxx> #include <sfx2/viewfrm.hxx> diff --git a/sc/source/ui/vba/vbaaxes.cxx b/sc/source/ui/vba/vbaaxes.cxx index b15773099ac8..061f698781a3 100644 --- a/sc/source/ui/vba/vbaaxes.cxx +++ b/sc/source/ui/vba/vbaaxes.cxx @@ -20,6 +20,7 @@ #include "vbaaxes.hxx" #include "vbaaxis.hxx" #include "vbachart.hxx" +#include <basic/sberrors.hxx> #include <cppuhelper/implbase.hxx> #include <ooo/vba/excel/XlAxisType.hpp> #include <ooo/vba/excel/XlAxisGroup.hpp> diff --git a/sc/source/ui/vba/vbacomment.cxx b/sc/source/ui/vba/vbacomment.cxx index 130ed99d9763..411a15abe0de 100644 --- a/sc/source/ui/vba/vbacomment.cxx +++ b/sc/source/ui/vba/vbacomment.cxx @@ -29,6 +29,7 @@ #include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/XCell.hpp> #include <com/sun/star/text/XText.hpp> +#include <ooo/vba/office/MsoShapeType.hpp> #include <vbahelper/vbashape.hxx> #include "vbaglobals.hxx" diff --git a/sc/source/ui/vba/vbacondition.cxx b/sc/source/ui/vba/vbacondition.cxx index 68a5c7d7622a..2fe01884caa4 100644 --- a/sc/source/ui/vba/vbacondition.cxx +++ b/sc/source/ui/vba/vbacondition.cxx @@ -22,6 +22,7 @@ #include <ooo/vba/excel/XFormatCondition.hpp> #include <com/sun/star/table/XCellRange.hpp> #include <com/sun/star/sheet/XCellRangeAddressable.hpp> +#include <basic/sberrors.hxx> using namespace ::ooo::vba; using namespace ::com::sun::star; diff --git a/sc/source/ui/vba/vbaeventshelper.cxx b/sc/source/ui/vba/vbaeventshelper.cxx index c37b1d6d3be5..da68267b1ea5 100644 --- a/sc/source/ui/vba/vbaeventshelper.cxx +++ b/sc/source/ui/vba/vbaeventshelper.cxx @@ -37,6 +37,7 @@ #include <unotools/eventcfg.hxx> #include <vcl/svapp.hxx> #include <vcl/window.hxx> +#include <vbahelper/vbaaccesshelper.hxx> #include "cellsuno.hxx" #include "convuno.hxx" diff --git a/sc/source/ui/vba/vbaformat.cxx b/sc/source/ui/vba/vbaformat.cxx index 88c29ba01d92..ba2db5021e95 100644 --- a/sc/source/ui/vba/vbaformat.cxx +++ b/sc/source/ui/vba/vbaformat.cxx @@ -30,6 +30,7 @@ #include <com/sun/star/text/WritingMode.hpp> #include <com/sun/star/util/CellProtection.hpp> +#include <basic/sberrors.hxx> #include <rtl/math.hxx> #include "excelvbahelper.hxx" diff --git a/sc/source/ui/vba/vbaformat.hxx b/sc/source/ui/vba/vbaformat.hxx index b02bd6965bf6..1489ec6ee673 100644 --- a/sc/source/ui/vba/vbaformat.hxx +++ b/sc/source/ui/vba/vbaformat.hxx @@ -28,6 +28,7 @@ #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/beans/XPropertyState.hpp> +#include <svl/itemset.hxx> #include <vbahelper/vbahelperinterface.hxx> class ScCellRangesBase; diff --git a/sc/source/ui/vba/vbaformatcondition.cxx b/sc/source/ui/vba/vbaformatcondition.cxx index 792818c97c66..80bff983032e 100644 --- a/sc/source/ui/vba/vbaformatcondition.cxx +++ b/sc/source/ui/vba/vbaformatcondition.cxx @@ -20,6 +20,7 @@ #include "vbaformatconditions.hxx" #include "unonames.hxx" #include <ooo/vba/excel/XlFormatConditionType.hpp> +#include <basic/sberrors.hxx> using namespace ::ooo::vba; using namespace ::com::sun::star; diff --git a/sc/source/ui/vba/vbaformatconditions.cxx b/sc/source/ui/vba/vbaformatconditions.cxx index 9b0a6d7cfa13..c01b1863b426 100644 --- a/sc/source/ui/vba/vbaformatconditions.cxx +++ b/sc/source/ui/vba/vbaformatconditions.cxx @@ -20,6 +20,7 @@ #include <ooo/vba/excel/XRange.hpp> #include <com/sun/star/sheet/XCellRangeAddressable.hpp> #include <com/sun/star/sheet/XSheetConditionalEntry.hpp> +#include <basic/sberrors.hxx> #include <comphelper/sequence.hxx> #include <cppuhelper/exc_hlp.hxx> #include <vector> diff --git a/sc/source/ui/vba/vbapagebreak.cxx b/sc/source/ui/vba/vbapagebreak.cxx index bc7942c25a6e..2f29060bb1a2 100644 --- a/sc/source/ui/vba/vbapagebreak.cxx +++ b/sc/source/ui/vba/vbapagebreak.cxx @@ -18,6 +18,7 @@ */ #include "vbapagebreak.hxx" #include "vbarange.hxx" +#include <basic/sberrors.hxx> #include <ooo/vba/excel/XlPageBreak.hpp> using namespace ::com::sun::star; using namespace ::ooo::vba; diff --git a/sc/source/ui/vba/vbapagebreaks.cxx b/sc/source/ui/vba/vbapagebreaks.cxx index 047e7cac9d5e..cfa42ebf52ba 100644 --- a/sc/source/ui/vba/vbapagebreaks.cxx +++ b/sc/source/ui/vba/vbapagebreaks.cxx @@ -18,6 +18,7 @@ */ #include "vbapagebreaks.hxx" #include "vbapagebreak.hxx" +#include <basic/sberrors.hxx> #include <cppuhelper/implbase.hxx> #include <ooo/vba/excel/XWorksheet.hpp> using namespace ::com::sun::star; diff --git a/sc/source/ui/vba/vbapagesetup.cxx b/sc/source/ui/vba/vbapagesetup.cxx index 50e6e096fa69..d39af7984864 100644 --- a/sc/source/ui/vba/vbapagesetup.cxx +++ b/sc/source/ui/vba/vbapagesetup.cxx @@ -30,6 +30,7 @@ #include <ooo/vba/excel/XlPageOrientation.hpp> #include <ooo/vba/excel/XlOrder.hpp> #include <ooo/vba/excel/Constants.hpp> +#include <basic/sberrors.hxx> #include <i18nutil/paper.hxx> #include <sal/macros.h> #include <algorithm> diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx index 40921ee5c382..48524fde2599 100644 --- a/sc/source/ui/vba/vbarange.cxx +++ b/sc/source/ui/vba/vbarange.cxx @@ -27,6 +27,7 @@ #include <sfx2/objsh.hxx> #include <com/sun/star/script/ArrayWrapper.hpp> +#include <com/sun/star/script/XTypeConverter.hpp> #include <com/sun/star/script/vba/VBAEventId.hpp> #include <com/sun/star/script/vba/XVBAEventProcessor.hpp> #include <com/sun/star/sheet/XDatabaseRange.hpp> @@ -156,6 +157,7 @@ #include "transobj.hxx" #include "queryentry.hxx" #include "markdata.hxx" +#include <basic/sberrors.hxx> #include <comphelper/anytostring.hxx> #include <cppuhelper/implbase.hxx> diff --git a/sc/source/ui/vba/vbarange.hxx b/sc/source/ui/vba/vbarange.hxx index 444ff624be36..cc65a90b5ccb 100644 --- a/sc/source/ui/vba/vbarange.hxx +++ b/sc/source/ui/vba/vbarange.hxx @@ -31,6 +31,7 @@ #include <comphelper/proparrhlp.hxx> #include <comphelper/propertycontainer.hxx> +#include <com/sun/star/awt/Point.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/script/XDefaultMethod.hpp> @@ -44,6 +45,7 @@ #include "vbaformat.hxx" #include "address.hxx" #include <formula/grammar.hxx> +#include <svl/itemset.hxx> class ScCellRangesBase; class ScCellRangeObj; diff --git a/sc/source/ui/vba/vbasheetobjects.cxx b/sc/source/ui/vba/vbasheetobjects.cxx index cdb1463ad9d3..a677a0ea3fc9 100644 --- a/sc/source/ui/vba/vbasheetobjects.cxx +++ b/sc/source/ui/vba/vbasheetobjects.cxx @@ -30,6 +30,8 @@ #include <com/sun/star/form/XForm.hpp> #include <com/sun/star/form/XFormComponent.hpp> #include <com/sun/star/form/XFormsSupplier.hpp> +#include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include "vbasheetobject.hxx" #include <cppuhelper/implbase.hxx> diff --git a/sc/source/ui/vba/vbastyle.cxx b/sc/source/ui/vba/vbastyle.cxx index 0f651b4b0f94..950639deff21 100644 --- a/sc/source/ui/vba/vbastyle.cxx +++ b/sc/source/ui/vba/vbastyle.cxx @@ -18,6 +18,7 @@ */ #include "vbastyle.hxx" +#include <basic/sberrors.hxx> #include <com/sun/star/style/XStyleFamiliesSupplier.hpp> using namespace ::ooo::vba; diff --git a/sc/source/ui/vba/vbastyles.cxx b/sc/source/ui/vba/vbastyles.cxx index f51a4954a75b..a4a1457882b7 100644 --- a/sc/source/ui/vba/vbastyles.cxx +++ b/sc/source/ui/vba/vbastyles.cxx @@ -18,6 +18,7 @@ */ #include "vbastyles.hxx" #include "vbastyle.hxx" +#include <basic/sberrors.hxx> #include <cppuhelper/exc_hlp.hxx> #include <ooo/vba/excel/XRange.hpp> diff --git a/sc/source/ui/vba/vbastyles.hxx b/sc/source/ui/vba/vbastyles.hxx index ea60d0a8331c..271ea1dc857a 100644 --- a/sc/source/ui/vba/vbastyles.hxx +++ b/sc/source/ui/vba/vbastyles.hxx @@ -20,6 +20,7 @@ #define INCLUDED_SC_SOURCE_UI_VBA_VBASTYLES_HXX #include <ooo/vba/excel/XStyles.hpp> #include <com/sun/star/container/XNameContainer.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <vbahelper/vbacollectionimpl.hxx> typedef CollTestImplHelper< ov::excel::XStyles > ScVbaStyles_BASE; diff --git a/sc/source/ui/vba/vbatextframe.cxx b/sc/source/ui/vba/vbatextframe.cxx index 6dd70ba96c5f..3c270d175219 100644 --- a/sc/source/ui/vba/vbatextframe.cxx +++ b/sc/source/ui/vba/vbatextframe.cxx @@ -18,7 +18,9 @@ */ #include <vbahelper/helperdecl.hxx> #include <com/sun/star/drawing/TextFitToSizeType.hpp> +#include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/text/XText.hpp> +#include <sfx2/objsh.hxx> #include "vbatextframe.hxx" #include "vbacharacters.hxx" diff --git a/sc/source/ui/vba/vbawindow.cxx b/sc/source/ui/vba/vbawindow.cxx index 8e46e0a52fbb..b1a36353a92b 100644 --- a/sc/source/ui/vba/vbawindow.cxx +++ b/sc/source/ui/vba/vbawindow.cxx @@ -33,6 +33,7 @@ #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/awt/XWindow2.hpp> #include <com/sun/star/awt/PosSize.hpp> +#include <basic/sberrors.hxx> #include <cppuhelper/implbase.hxx> #include <docsh.hxx> diff --git a/sc/source/ui/vba/vbaworksheet.cxx b/sc/source/ui/vba/vbaworksheet.cxx index 207a9ecea36d..415c0eaf4858 100644 --- a/sc/source/ui/vba/vbaworksheet.cxx +++ b/sc/source/ui/vba/vbaworksheet.cxx @@ -59,6 +59,7 @@ #include <ooo/vba/excel/XWorkbook.hpp> #include <ooo/vba/XControlProvider.hpp> +#include <basic/sberrors.hxx> #include <comphelper/processfactory.hxx> #include <comphelper/servicehelper.hxx> #include <vbahelper/vbashapes.hxx> diff --git a/sc/source/ui/vba/vbaworksheet.hxx b/sc/source/ui/vba/vbaworksheet.hxx index bfbd4c55a7bb..cb670d8df813 100644 --- a/sc/source/ui/vba/vbaworksheet.hxx +++ b/sc/source/ui/vba/vbaworksheet.hxx @@ -34,6 +34,7 @@ #include <ooo/vba/excel/XHPageBreaks.hpp> #include <ooo/vba/excel/XVPageBreaks.hpp> #include <com/sun/star/container/XNamed.hpp> +#include <rtl/ref.hxx> #include <vbahelper/vbahelperinterface.hxx> #include "address.hxx" diff --git a/sc/source/ui/vba/vbaworksheets.cxx b/sc/source/ui/vba/vbaworksheets.cxx index d7d84355fc75..86c4f1fc0a7c 100644 --- a/sc/source/ui/vba/vbaworksheets.cxx +++ b/sc/source/ui/vba/vbaworksheets.cxx @@ -36,6 +36,7 @@ #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/lang/IndexOutOfBoundsException.hpp> #include <com/sun/star/beans/XPropertySet.hpp> +#include <com/sun/star/script/XTypeConverter.hpp> #include <ooo/vba/excel/XApplication.hpp> #include "tabvwsh.hxx" |