Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / inc / pch / precompiled_vbaobj.hxx
blob64f8ed7357dbdacb92e9e48c6613952a4d05d9b7
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
11 This file has been autogenerated by update_pch.sh. It is possible to edit it
12 manually (such as when an include file has been moved/renamed/removed). All such
13 manual changes will be rewritten by the next run of update_pch.sh (which presumably
14 also fixes all possible problems, so it's usually better to use it).
16 Generated on 2021-03-08 13:17:35 using:
17 ./bin/update_pch sc vbaobj --cutoff=1 --exclude:system --exclude:module --include:local
19 If after updating build fails, use the following command to locate conflicting headers:
20 ./bin/update_pch_bisect ./sc/inc/pch/precompiled_vbaobj.hxx "make sc.build" --find-conflicts
23 #include <sal/config.h>
24 #if PCH_LEVEL >= 1
25 #include <algorithm>
26 #include <list>
27 #include <map>
28 #include <memory>
29 #include <string_view>
30 #include <unordered_map>
31 #include <vector>
32 #endif // PCH_LEVEL >= 1
33 #if PCH_LEVEL >= 2
34 #include <osl/file.hxx>
35 #include <rtl/instance.hxx>
36 #include <rtl/math.hxx>
37 #include <rtl/ref.hxx>
38 #include <sal/log.hxx>
39 #include <sal/macros.h>
40 #include <vcl/event.hxx>
41 #include <vcl/svapp.hxx>
42 #include <vcl/window.hxx>
43 #include <vcl/wrkwin.hxx>
44 #endif // PCH_LEVEL >= 2
45 #if PCH_LEVEL >= 3
46 #include <basic/basmgr.hxx>
47 #include <basic/sberrors.hxx>
48 #include <basic/sbmeth.hxx>
49 #include <basic/sbstar.hxx>
50 #include <basic/sbuno.hxx>
51 #include <basic/sbx.hxx>
52 #include <basic/sbxobj.hxx>
53 #include <com/sun/star/awt/FontUnderline.hpp>
54 #include <com/sun/star/awt/TextAlign.hpp>
55 #include <com/sun/star/awt/XControlModel.hpp>
56 #include <com/sun/star/awt/XTopWindow.hpp>
57 #include <com/sun/star/awt/XTopWindowListener.hpp>
58 #include <com/sun/star/awt/XWindowListener.hpp>
59 #include <com/sun/star/beans/PropertyValue.hpp>
60 #include <com/sun/star/beans/XIntrospectionAccess.hpp>
61 #include <com/sun/star/beans/XPropertySet.hpp>
62 #include <com/sun/star/bridge/oleautomation/Date.hpp>
63 #include <com/sun/star/chart/ChartDataRowSource.hpp>
64 #include <com/sun/star/chart/ChartSolidType.hpp>
65 #include <com/sun/star/chart/ChartSymbolType.hpp>
66 #include <com/sun/star/chart/XAxisXSupplier.hpp>
67 #include <com/sun/star/chart/XAxisYSupplier.hpp>
68 #include <com/sun/star/chart/XAxisZSupplier.hpp>
69 #include <com/sun/star/chart/XChartDataArray.hpp>
70 #include <com/sun/star/chart/XTwoAxisXSupplier.hpp>
71 #include <com/sun/star/chart/XTwoAxisYSupplier.hpp>
72 #include <com/sun/star/container/XChild.hpp>
73 #include <com/sun/star/container/XEnumerationAccess.hpp>
74 #include <com/sun/star/container/XIndexAccess.hpp>
75 #include <com/sun/star/container/XIndexContainer.hpp>
76 #include <com/sun/star/container/XNameAccess.hpp>
77 #include <com/sun/star/container/XNamed.hpp>
78 #include <com/sun/star/document/XEmbeddedObjectSupplier.hpp>
79 #include <com/sun/star/document/XTypeDetection.hpp>
80 #include <com/sun/star/drawing/XControlShape.hpp>
81 #include <com/sun/star/drawing/XDrawPageSupplier.hpp>
82 #include <com/sun/star/drawing/XShape.hpp>
83 #include <com/sun/star/drawing/XShapes.hpp>
84 #include <com/sun/star/form/FormComponentType.hpp>
85 #include <com/sun/star/form/XForm.hpp>
86 #include <com/sun/star/form/XFormComponent.hpp>
87 #include <com/sun/star/form/XFormsSupplier.hpp>
88 #include <com/sun/star/frame/Desktop.hpp>
89 #include <com/sun/star/frame/XBorderResizeListener.hpp>
90 #include <com/sun/star/frame/XControllerBorder.hpp>
91 #include <com/sun/star/frame/XDesktop.hpp>
92 #include <com/sun/star/frame/XModel.hpp>
93 #include <com/sun/star/frame/XStorable.hpp>
94 #include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
95 #include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
96 #include <com/sun/star/lang/XMultiComponentFactory.hpp>
97 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
98 #include <com/sun/star/lang/XServiceInfo.hpp>
99 #include <com/sun/star/script/ArrayWrapper.hpp>
100 #include <com/sun/star/script/BasicErrorException.hpp>
101 #include <com/sun/star/script/ModuleInfo.hpp>
102 #include <com/sun/star/script/ModuleType.hpp>
103 #include <com/sun/star/script/ScriptEventDescriptor.hpp>
104 #include <com/sun/star/script/XEventAttacherManager.hpp>
105 #include <com/sun/star/script/XTypeConverter.hpp>
106 #include <com/sun/star/script/vba/VBAEventId.hpp>
107 #include <com/sun/star/script/vba/XVBACompatibility.hpp>
108 #include <com/sun/star/script/vba/XVBAEventProcessor.hpp>
109 #include <com/sun/star/script/vba/XVBAModuleInfo.hpp>
110 #include <com/sun/star/sheet/CellFlags.hpp>
111 #include <com/sun/star/sheet/FilterConnection.hpp>
112 #include <com/sun/star/sheet/FilterOperator2.hpp>
113 #include <com/sun/star/sheet/FormulaResult.hpp>
114 #include <com/sun/star/sheet/GeneralFunction.hpp>
115 #include <com/sun/star/sheet/GlobalSheetSettings.hpp>
116 #include <com/sun/star/sheet/TableFilterField2.hpp>
117 #include <com/sun/star/sheet/ValidationAlertStyle.hpp>
118 #include <com/sun/star/sheet/ValidationType.hpp>
119 #include <com/sun/star/sheet/XArrayFormulaRange.hpp>
120 #include <com/sun/star/sheet/XCalculatable.hpp>
121 #include <com/sun/star/sheet/XCellAddressable.hpp>
122 #include <com/sun/star/sheet/XCellRangeAddressable.hpp>
123 #include <com/sun/star/sheet/XCellRangeMovement.hpp>
124 #include <com/sun/star/sheet/XCellRangeReferrer.hpp>
125 #include <com/sun/star/sheet/XCellRangesQuery.hpp>
126 #include <com/sun/star/sheet/XCellSeries.hpp>
127 #include <com/sun/star/sheet/XDataPilotTable.hpp>
128 #include <com/sun/star/sheet/XDataPilotTablesSupplier.hpp>
129 #include <com/sun/star/sheet/XDatabaseRange.hpp>
130 #include <com/sun/star/sheet/XFunctionAccess.hpp>
131 #include <com/sun/star/sheet/XGoalSeek.hpp>
132 #include <com/sun/star/sheet/XHeaderFooterContent.hpp>
133 #include <com/sun/star/sheet/XNamedRange.hpp>
134 #include <com/sun/star/sheet/XNamedRanges.hpp>
135 #include <com/sun/star/sheet/XPrintAreas.hpp>
136 #include <com/sun/star/sheet/XSheetAnnotation.hpp>
137 #include <com/sun/star/sheet/XSheetAnnotationAnchor.hpp>
138 #include <com/sun/star/sheet/XSheetAnnotationShapeSupplier.hpp>
139 #include <com/sun/star/sheet/XSheetAnnotations.hpp>
140 #include <com/sun/star/sheet/XSheetAnnotationsSupplier.hpp>
141 #include <com/sun/star/sheet/XSheetCellCursor.hpp>
142 #include <com/sun/star/sheet/XSheetCellRange.hpp>
143 #include <com/sun/star/sheet/XSheetCellRangeContainer.hpp>
144 #include <com/sun/star/sheet/XSheetCondition.hpp>
145 #include <com/sun/star/sheet/XSheetConditionalEntry.hpp>
146 #include <com/sun/star/sheet/XSheetFilterDescriptor2.hpp>
147 #include <com/sun/star/sheet/XSheetOperation.hpp>
148 #include <com/sun/star/sheet/XSheetOutline.hpp>
149 #include <com/sun/star/sheet/XSheetPageBreak.hpp>
150 #include <com/sun/star/sheet/XSpreadsheet.hpp>
151 #include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
152 #include <com/sun/star/sheet/XSpreadsheetView.hpp>
153 #include <com/sun/star/sheet/XSpreadsheets.hpp>
154 #include <com/sun/star/sheet/XSubTotalCalculatable.hpp>
155 #include <com/sun/star/sheet/XSubTotalDescriptor.hpp>
156 #include <com/sun/star/sheet/XUnnamedDatabaseRanges.hpp>
157 #include <com/sun/star/sheet/XUsedAreaCursor.hpp>
158 #include <com/sun/star/sheet/XViewFreezable.hpp>
159 #include <com/sun/star/sheet/XViewSplitable.hpp>
160 #include <com/sun/star/style/VerticalAlignment.hpp>
161 #include <com/sun/star/style/XStyleFamiliesSupplier.hpp>
162 #include <com/sun/star/table/CellAddress.hpp>
163 #include <com/sun/star/table/CellContentType.hpp>
164 #include <com/sun/star/table/CellHoriJustify.hpp>
165 #include <com/sun/star/table/CellOrientation.hpp>
166 #include <com/sun/star/table/CellRangeAddress.hpp>
167 #include <com/sun/star/table/CellVertJustify2.hpp>
168 #include <com/sun/star/table/TableBorder.hpp>
169 #include <com/sun/star/table/TableSortField.hpp>
170 #include <com/sun/star/table/XCell.hpp>
171 #include <com/sun/star/table/XCellRange.hpp>
172 #include <com/sun/star/table/XColumnRowRange.hpp>
173 #include <com/sun/star/table/XTableChart.hpp>
174 #include <com/sun/star/table/XTableChartsSupplier.hpp>
175 #include <com/sun/star/table/XTableColumns.hpp>
176 #include <com/sun/star/table/XTableRows.hpp>
177 #include <com/sun/star/task/XStatusIndicator.hpp>
178 #include <com/sun/star/task/XStatusIndicatorSupplier.hpp>
179 #include <com/sun/star/text/WritingMode.hpp>
180 #include <com/sun/star/text/XSimpleText.hpp>
181 #include <com/sun/star/text/XText.hpp>
182 #include <com/sun/star/text/XTextCursor.hpp>
183 #include <com/sun/star/text/XTextFieldsSupplier.hpp>
184 #include <com/sun/star/text/XTextRange.hpp>
185 #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
186 #include <com/sun/star/ui/dialogs/FilePicker.hpp>
187 #include <com/sun/star/ui/dialogs/FolderPicker.hpp>
188 #include <com/sun/star/ui/dialogs/TemplateDescription.hpp>
189 #include <com/sun/star/uno/XComponentContext.hpp>
190 #include <com/sun/star/util/CellProtection.hpp>
191 #include <com/sun/star/util/NumberFormat.hpp>
192 #include <com/sun/star/util/PathSettings.hpp>
193 #include <com/sun/star/util/TriState.hpp>
194 #include <com/sun/star/util/XChangesListener.hpp>
195 #include <com/sun/star/util/XChangesNotifier.hpp>
196 #include <com/sun/star/util/XMergeable.hpp>
197 #include <com/sun/star/util/XNumberFormatTypes.hpp>
198 #include <com/sun/star/util/XNumberFormats.hpp>
199 #include <com/sun/star/util/XNumberFormatsSupplier.hpp>
200 #include <com/sun/star/util/XProtectable.hpp>
201 #include <com/sun/star/util/XReplaceable.hpp>
202 #include <com/sun/star/util/XSortable.hpp>
203 #include <com/sun/star/view/DocumentZoomType.hpp>
204 #include <com/sun/star/view/XSelectionSupplier.hpp>
205 #include <com/sun/star/xml/AttributeData.hpp>
206 #include <comphelper/documentinfo.hxx>
207 #include <comphelper/processfactory.hxx>
208 #include <comphelper/sequence.hxx>
209 #include <comphelper/servicehelper.hxx>
210 #include <comphelper/types.hxx>
211 #include <cppuhelper/exc_hlp.hxx>
212 #include <cppuhelper/implbase.hxx>
213 #include <filter/msfilter/msvbahelper.hxx>
214 #include <filter/msfilter/util.hxx>
215 #include <o3tl/any.hxx>
216 #include <o3tl/safeint.hxx>
217 #include <o3tl/unit_conversion.hxx>
218 #include <ooo/vba/XCommandBarControls.hpp>
219 #include <ooo/vba/XCommandBars.hpp>
220 #include <ooo/vba/XControlProvider.hpp>
221 #include <ooo/vba/excel/Constants.hpp>
222 #include <ooo/vba/excel/XApplication.hpp>
223 #include <ooo/vba/excel/XApplicationOutgoing.hpp>
224 #include <ooo/vba/excel/XAxis.hpp>
225 #include <ooo/vba/excel/XDialog.hpp>
226 #include <ooo/vba/excel/XFont.hpp>
227 #include <ooo/vba/excel/XFormatCondition.hpp>
228 #include <ooo/vba/excel/XOLEObject.hpp>
229 #include <ooo/vba/excel/XPivotTable.hpp>
230 #include <ooo/vba/excel/XRange.hpp>
231 #include <ooo/vba/excel/XStyle.hpp>
232 #include <ooo/vba/excel/XWorksheet.hpp>
233 #include <ooo/vba/excel/XlAutoFillType.hpp>
234 #include <ooo/vba/excel/XlAutoFilterOperator.hpp>
235 #include <ooo/vba/excel/XlAxisCrosses.hpp>
236 #include <ooo/vba/excel/XlAxisGroup.hpp>
237 #include <ooo/vba/excel/XlAxisType.hpp>
238 #include <ooo/vba/excel/XlBorderWeight.hpp>
239 #include <ooo/vba/excel/XlBordersIndex.hpp>
240 #include <ooo/vba/excel/XlCalculation.hpp>
241 #include <ooo/vba/excel/XlCellType.hpp>
242 #include <ooo/vba/excel/XlChartType.hpp>
243 #include <ooo/vba/excel/XlColorIndex.hpp>
244 #include <ooo/vba/excel/XlConsolidationFunction.hpp>
245 #include <ooo/vba/excel/XlDVAlertStyle.hpp>
246 #include <ooo/vba/excel/XlDVType.hpp>
247 #include <ooo/vba/excel/XlDeleteShiftDirection.hpp>
248 #include <ooo/vba/excel/XlDirection.hpp>
249 #include <ooo/vba/excel/XlEnableSelection.hpp>
250 #include <ooo/vba/excel/XlFileFormat.hpp>
251 #include <ooo/vba/excel/XlFindLookIn.hpp>
252 #include <ooo/vba/excel/XlFormatConditionOperator.hpp>
253 #include <ooo/vba/excel/XlFormatConditionType.hpp>
254 #include <ooo/vba/excel/XlHAlign.hpp>
255 #include <ooo/vba/excel/XlInsertShiftDirection.hpp>
256 #include <ooo/vba/excel/XlLineStyle.hpp>
257 #include <ooo/vba/excel/XlLookAt.hpp>
258 #include <ooo/vba/excel/XlMousePointer.hpp>
259 #include <ooo/vba/excel/XlOrder.hpp>
260 #include <ooo/vba/excel/XlOrientation.hpp>
261 #include <ooo/vba/excel/XlPageBreak.hpp>
262 #include <ooo/vba/excel/XlPageOrientation.hpp>
263 #include <ooo/vba/excel/XlPaperSize.hpp>
264 #include <ooo/vba/excel/XlPasteSpecialOperation.hpp>
265 #include <ooo/vba/excel/XlPasteType.hpp>
266 #include <ooo/vba/excel/XlPattern.hpp>
267 #include <ooo/vba/excel/XlPlacement.hpp>
268 #include <ooo/vba/excel/XlReferenceStyle.hpp>
269 #include <ooo/vba/excel/XlRowCol.hpp>
270 #include <ooo/vba/excel/XlScaleType.hpp>
271 #include <ooo/vba/excel/XlSearchDirection.hpp>
272 #include <ooo/vba/excel/XlSearchOrder.hpp>
273 #include <ooo/vba/excel/XlSheetType.hpp>
274 #include <ooo/vba/excel/XlSheetVisibility.hpp>
275 #include <ooo/vba/excel/XlSortDataOption.hpp>
276 #include <ooo/vba/excel/XlSortMethod.hpp>
277 #include <ooo/vba/excel/XlSortOrder.hpp>
278 #include <ooo/vba/excel/XlSortOrientation.hpp>
279 #include <ooo/vba/excel/XlSpecialCellsValue.hpp>
280 #include <ooo/vba/excel/XlUnderlineStyle.hpp>
281 #include <ooo/vba/excel/XlVAlign.hpp>
282 #include <ooo/vba/excel/XlWindowState.hpp>
283 #include <ooo/vba/excel/XlWindowView.hpp>
284 #include <ooo/vba/excel/XlYesNoGuess.hpp>
285 #include <ooo/vba/msforms/XShape.hpp>
286 #include <ooo/vba/office/MsoAnimationType.hpp>
287 #include <ooo/vba/office/MsoAutoShapeType.hpp>
288 #include <ooo/vba/office/MsoControlType.hpp>
289 #include <ooo/vba/office/MsoFileDialogType.hpp>
290 #include <ooo/vba/office/MsoHyperlinkType.hpp>
291 #include <ooo/vba/office/MsoShapeType.hpp>
292 #include <sfx2/app.hxx>
293 #include <sfx2/bindings.hxx>
294 #include <sfx2/dispatch.hxx>
295 #include <sfx2/objsh.hxx>
296 #include <sfx2/request.hxx>
297 #include <sfx2/viewfrm.hxx>
298 #include <svl/itemset.hxx>
299 #include <svl/srchitem.hxx>
300 #include <toolkit/helper/vclunohelper.hxx>
301 #include <comphelper/diagnose_ex.hxx>
302 #include <tools/urlobj.hxx>
303 #include <unotools/eventcfg.hxx>
304 #include <vbahelper/vbaaccesshelper.hxx>
305 #include <vbahelper/vbacollectionimpl.hxx>
306 #include <vbahelper/vbahelper.hxx>
307 #include <vbahelper/vbashape.hxx>
308 #include <vbahelper/vbashapes.hxx>
309 #endif // PCH_LEVEL >= 3
310 #if PCH_LEVEL >= 4
311 #include <attrib.hxx>
312 #include <cellsuno.hxx>
313 #include <columnspanset.hxx>
314 #include <compiler.hxx>
315 #include <convuno.hxx>
316 #include <dbdata.hxx>
317 #include <docfunc.hxx>
318 #include <docoptio.hxx>
319 #include <docsh.hxx>
320 #include <document.hxx>
321 #include <docuno.hxx>
322 #include <global.hxx>
323 #include <gridwin.hxx>
324 #include <macromgr.hxx>
325 #include <markdata.hxx>
326 #include <nameuno.hxx>
327 #include <olinetab.hxx>
328 #include <patattr.hxx>
329 #include <preview.hxx>
330 #include <prevwsh.hxx>
331 #include <queryentry.hxx>
332 #include <queryparam.hxx>
333 #include <rangelst.hxx>
334 #include <rangenam.hxx>
335 #include <scabstdlg.hxx>
336 #include <scdll.hxx>
337 #include <scitems.hxx>
338 #include <scmod.hxx>
339 #include <sortparam.hxx>
340 #include <tabprotection.hxx>
341 #include <tabvwsh.hxx>
342 #include <tokenarray.hxx>
343 #include <tokenuno.hxx>
344 #include <transobj.hxx>
345 #include <unonames.hxx>
346 #include <viewdata.hxx>
347 #include <viewutil.hxx>
348 #endif // PCH_LEVEL >= 4
350 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */