Embind: Don't use new when getting UNO singletons
[LibreOffice.git] / sw / IwyuFilter_sw.yaml
blobb3d5665826e805c1db246a397e104b4a722779a9
1 ---
2 assumeFilename: sw/source/core/doc/docnew.cxx
3 excludelist:
4     sw/sdi/swslots.hrc:
5     # Needed for sdi files to compile
6     - editeng/memberids.h
7     - editeng/editids.hrc
8     - svx/svxids.hrc
9     - svx/unomid.hxx
10     - globals.hrc
11     - cmdid.h
12     - unomid.h
13     sw/inc/extinput.hxx:
14     - vector
15     sw/inc/fmtmeta.hxx:
16     - vector
17     sw/inc/istyleaccess.hxx:
18     - vector
19     sw/inc/shellres.hxx:
20     - memory
21     sw/inc/docary.hxx:
22     # Complete type is needed here:
23     # fldbas.hxx brings in SwTOXType, which is needed by SwTOXTypes, as SwVectorModifyBase's dtor wants to delete it
24     - fldbas.hxx
25     # numrule.hxx brings in SwNumRule, which is needed by SwNumRuleTable, as SwVectorModifyBase's dtor wants to delete it
26     - numrule.hxx
27     # tox.hxx brings in SwTOXType, which is needed by SwTOXTypes, as SwVectorModifyBase's dtor wants to delete it
28     - tox.hxx
29     # section.hxx brings in SwSectionFormat, which is needed by SwSectionFormats, as SwFormatsModifyBase's type param has to be complete
30     - section.hxx
31     sw/inc/docfac.hxx:
32     # Complete type is needed by rtl::Reference<SwDoc>.
33     - doc.hxx
34     sw/inc/swmodule.hxx:
35     # Needed for macro #define
36     - sfx2/app.hxx
37     sw/inc/swtypes.hxx:
38     # Needed for macro #define
39     - com/sun/star/i18n/CollatorOptions.hpp
40     sw/inc/IDocumentLinksAdministration.hxx:
41     - sal/types.h
42     sw/inc/pagedesc.hxx:
43     - boost/multi_index/identity.hpp
44     sw/inc/rdfhelper.hxx:
45     - com/sun/star/uno/Reference.h
46     sw/inc/ring.hxx:
47     - utility
48     sw/inc/shellid.hxx:
49     - sfx2/shell.hxx
50     sw/inc/breakit.hxx:
51     # std::unique_ptr dtor requires complete type
52     - com/sun/star/i18n/ForbiddenCharacters.hpp
53     sw/inc/dbmgr.hxx:
54     # uno::Sequence ctor needs the complete type
55     - com/sun/star/beans/PropertyValue.hpp
56     sw/inc/dlelstnr.hxx:
57     # base class has to be a complete type
58     - com/sun/star/frame/XTerminateListener.hpp
59     - com/sun/star/linguistic2/XLinguServiceEventListener.hpp
60     sw/inc/finalthreadmanager.hxx:
61     # base class has to be a complete type
62     - com/sun/star/frame/XTerminateListener2.hpp
63     - com/sun/star/lang/XServiceInfo.hpp
64     - com/sun/star/util/XJobManager.hpp
65     sw/inc/splargs.hxx:
66     # inline dtor, complete type is needed
67     - com/sun/star/linguistic2/XSpellAlternatives.hpp
68     - com/sun/star/linguistic2/XSpellChecker1.hpp
69     sw/inc/SwGetPoolIdFromName.hxx:
70     # Needed for enum type
71     - sal/types.h
72     sw/inc/unocoll.hxx:
73     # base class has to be a complete type
74     - com/sun/star/container/XEnumerationAccess.hpp
75     - com/sun/star/container/XIndexAccess.hpp
76     - com/sun/star/container/XNameAccess.hpp
77     - com/sun/star/lang/XServiceInfo.hpp
78     sw/inc/unobaseclass.hxx:
79     # base class has to be a complete type
80     - com/sun/star/lang/XServiceInfo.hpp
81     - com/sun/star/container/XEnumeration.hpp
82     sw/inc/unofieldcoll.hxx:
83     # base class has to be a complete type
84     - com/sun/star/util/XRefreshable.hpp
85     sw/inc/unochart.hxx:
86     # base class has to be a complete type
87     - com/sun/star/beans/XPropertySet.hpp
88     - com/sun/star/chart2/data/XDataProvider.hpp
89     - com/sun/star/chart2/data/XDataSequence.hpp
90     - com/sun/star/chart2/data/XDataSource.hpp
91     - com/sun/star/chart2/data/XLabeledDataSequence2.hpp
92     - com/sun/star/chart2/data/XNumericalDataSequence.hpp
93     - com/sun/star/chart2/data/XRangeXMLConversion.hpp
94     - com/sun/star/chart2/data/XTextualDataSequence.hpp
95     - com/sun/star/lang/XComponent.hpp
96     - com/sun/star/lang/XEventListener.hpp
97     - com/sun/star/lang/XServiceInfo.hpp
98     - com/sun/star/lang/XUnoTunnel.hpp
99     - com/sun/star/util/XCloneable.hpp
100     - com/sun/star/util/XModifiable.hpp
101     - com/sun/star/util/XModifyListener.hpp
102     sw/inc/unodraw.hxx:
103     # base class has to be a complete type
104     - com/sun/star/beans/XPropertyState.hpp
105     - com/sun/star/container/XEnumerationAccess.hpp
106     - com/sun/star/drawing/XShape.hpp
107     - com/sun/star/lang/XUnoTunnel.hpp
108     - com/sun/star/text/XTextContent.hpp
109     sw/inc/unoframe.hxx:
110     # base class has to be a complete type
111     - com/sun/star/beans/XPropertyState.hpp
112     - com/sun/star/container/XEnumerationAccess.hpp
113     - com/sun/star/container/XNamed.hpp
114     - com/sun/star/document/XEmbeddedObjectSupplier2.hpp
115     - com/sun/star/document/XEventsSupplier.hpp
116     - com/sun/star/drawing/XShape.hpp
117     - com/sun/star/text/XTextFrame.hpp
118     - com/sun/star/util/XModifyListener.hpp
119     sw/inc/unosrch.hxx:
120     # base class has to be a complete type
121     - com/sun/star/lang/XServiceInfo.hpp
122     - com/sun/star/lang/XUnoTunnel.hpp
123     - com/sun/star/util/XPropertyReplace.hpp
124     sw/inc/unoparagraph.hxx:
125     # base class has to be a complete type
126     - com/sun/star/beans/XMultiPropertySet.hpp
127     - com/sun/star/beans/XPropertySet.hpp
128     - com/sun/star/beans/XPropertyState.hpp
129     - com/sun/star/beans/XTolerantMultiPropertySet.hpp
130     - com/sun/star/container/XContentEnumerationAccess.hpp
131     - com/sun/star/container/XEnumerationAccess.hpp
132     - com/sun/star/lang/XServiceInfo.hpp
133     - com/sun/star/lang/XUnoTunnel.hpp
134     - com/sun/star/text/XTextContent.hpp
135     - com/sun/star/text/XTextRange.hpp
136     sw/inc/unosett.hxx:
137     # base class has to be a complete type
138     - com/sun/star/beans/XPropertySet.hpp
139     - com/sun/star/container/XIndexReplace.hpp
140     - com/sun/star/container/XNamed.hpp
141     - com/sun/star/lang/XServiceInfo.hpp
142     - com/sun/star/lang/XUnoTunnel.hpp
143     - com/sun/star/text/XTextColumns.hpp
144     # sw::UnoImplPtr typedef
145     - unobaseclass.hxx
146     sw/inc/unotbl.hxx:
147     # base class has to be a complete type
148     - com/sun/star/chart/XChartDataArray.hpp
149     - com/sun/star/container/XEnumerationAccess.hpp
150     - com/sun/star/container/XNamed.hpp
151     - com/sun/star/sheet/XCellRangeData.hpp
152     - com/sun/star/table/XAutoFormattable.hpp
153     - com/sun/star/table/XCellRange.hpp
154     - com/sun/star/text/XTextTable.hpp
155     - com/sun/star/text/XTextTableCursor.hpp
156     - com/sun/star/util/XSortable.hpp
157     sw/inc/unotextbodyhf.hxx:
158     # base class has to be a complete type
159     - com/sun/star/lang/XServiceInfo.hpp
160     - com/sun/star/container/XEnumerationAccess.hpp
161     sw/inc/unotextcursor.hxx:
162     # base class has to be a complete type
163     - com/sun/star/beans/XMultiPropertySet.hpp
164     - com/sun/star/beans/XMultiPropertyStates.hpp
165     - com/sun/star/beans/XPropertySet.hpp
166     - com/sun/star/beans/XPropertyState.hpp
167     - com/sun/star/container/XContentEnumerationAccess.hpp
168     - com/sun/star/container/XEnumerationAccess.hpp
169     - com/sun/star/document/XDocumentInsertable.hpp
170     - com/sun/star/lang/XServiceInfo.hpp
171     - com/sun/star/text/XMarkingAccess.hpp
172     - com/sun/star/text/XParagraphCursor.hpp
173     - com/sun/star/text/XRedline.hpp
174     - com/sun/star/text/XSentenceCursor.hpp
175     - com/sun/star/text/XWordCursor.hpp
176     - com/sun/star/util/XSortable.hpp
177     sw/inc/unoredlines.hxx:
178     # base class has to be a complete type
179     - com/sun/star/container/XEnumerationAccess.hpp
180     sw/inc/unotxdoc.hxx:
181     # base class has to be a complete type
182     - com/sun/star/beans/XPropertySet.hpp
183     - com/sun/star/beans/XPropertyState.hpp
184     - com/sun/star/document/XDocumentLanguages.hpp
185     - com/sun/star/document/XLinkTargetSupplier.hpp
186     - com/sun/star/document/XRedlinesSupplier.hpp
187     - com/sun/star/drawing/XDrawPageSupplier.hpp
188     - com/sun/star/drawing/XDrawPagesSupplier.hpp
189     - com/sun/star/lang/XServiceInfo.hpp
190     - com/sun/star/style/XAutoStylesSupplier.hpp
191     - com/sun/star/style/XStyleFamiliesSupplier.hpp
192     - com/sun/star/text/XBookmarksSupplier.hpp
193     - com/sun/star/text/XChapterNumberingSupplier.hpp
194     - com/sun/star/text/XDocumentIndexesSupplier.hpp
195     - com/sun/star/text/XEndnotesSupplier.hpp
196     - com/sun/star/text/XFlatParagraphIteratorProvider.hpp
197     - com/sun/star/text/XFootnotesSupplier.hpp
198     - com/sun/star/text/XLineNumberingProperties.hpp
199     - com/sun/star/text/XNumberingRulesSupplier.hpp
200     - com/sun/star/text/XPagePrintable.hpp
201     - com/sun/star/text/XReferenceMarksSupplier.hpp
202     - com/sun/star/text/XTextDocument.hpp
203     - com/sun/star/text/XTextEmbeddedObjectsSupplier.hpp
204     - com/sun/star/text/XTextFieldsSupplier.hpp
205     - com/sun/star/text/XTextFramesSupplier.hpp
206     - com/sun/star/text/XTextGraphicObjectsSupplier.hpp
207     - com/sun/star/text/XTextSectionsSupplier.hpp
208     - com/sun/star/text/XTextTablesSupplier.hpp
209     - com/sun/star/util/XCloneable.hpp
210     - com/sun/star/util/XLinkUpdate.hpp
211     - com/sun/star/util/XRefreshable.hpp
212     - com/sun/star/util/XReplaceable.hpp
213     - com/sun/star/view/XRenderable.hpp
214     - com/sun/star/xforms/XFormsSupplier.hpp
215     # sw::UnoImplPtr typedef
216     - unobaseclass.hxx
217     sw/inc/hintids.hxx:
218     # used as template parameter of TypedWhichId
219     - class SfxStringItem
220     - class SvXMLAttrContainerItem
221     - class SwAttrSetChg
222     - class SwFormatChg
223     - class SwFormatMeta
224     - class SwMsgPoolItem
225     - class SwPtrMsgPoolItem
226     - class SwUpdateAttr
227     - class SfxBoolItem
228     - class SvxCharSetColorItem
229     - class SvxColorItem
230     # used in extern declaration
231     - struct SfxItemInfo
232     sw/inc/textboxhelper.hxx:
233     # used as a template parameter
234     - class SwFormatContent
235     sw/qa/extras/rtfexport/rtfexport.cxx:
236     # complete type is wanted
237     - com/sun/star/awt/XBitmap.hpp
238     - com/sun/star/text/XTextColumns.hpp
239     sw/inc/pagepreviewlayout.hxx:
240     - vector
241     sw/inc/unostyle.hxx:
242     # Base class needs complete type
243     - com/sun/star/beans/XPropertySet.hpp
244     - com/sun/star/beans/XPropertyState.hpp
245     - com/sun/star/style/XAutoStyle.hpp
246     - com/sun/star/style/XAutoStyleFamily.hpp
247     - com/sun/star/style/XAutoStyles.hpp
248     - com/sun/star/container/XNameContainer.hpp
249     - com/sun/star/style/XStyle.hpp
250     - com/sun/star/style/XStyleLoader.hpp
251     sw/inc/unotextrange.hxx:
252     # Base class needs complete type
253     - com/sun/star/lang/XUnoTunnel.hpp
254     - com/sun/star/lang/XServiceInfo.hpp
255     - com/sun/star/beans/XPropertySet.hpp
256     - com/sun/star/beans/XPropertyState.hpp
257     - com/sun/star/container/XIndexAccess.hpp
258     - com/sun/star/container/XEnumerationAccess.hpp
259     - com/sun/star/container/XContentEnumerationAccess.hpp
260     - com/sun/star/text/XTextRange.hpp
261     - com/sun/star/text/XRedline.hpp
262     # sw::UnoImplPtr typedef
263     - unobaseclass.hxx
264     sw/source/core/access/acccontext.hxx:
265     # Base class needs complete type
266     - com/sun/star/accessibility/XAccessibleComponent.hpp
267     - com/sun/star/accessibility/XAccessibleEventBroadcaster.hpp
268     - com/sun/star/lang/XServiceInfo.hpp
269     sw/source/core/access/acchyperlink.hxx:
270     # Base class needs complete type
271     - com/sun/star/accessibility/XAccessibleHyperlink.hpp
272     sw/source/core/access/accnotexthyperlink.hxx:
273     # Base class needs complete type
274     - com/sun/star/accessibility/XAccessibleHyperlink.hpp
275     sw/source/core/docnode/cancellablejob.hxx:
276     # Base class needs complete type
277     - com/sun/star/util/XCancellable.hpp
278     sw/source/core/inc/acorrect.hxx:
279     # Needed for implicit dtor
280     - svl/itemset.hxx
281     sw/source/core/inc/dumpfilter.hxx:
282     # Base class needs complete type
283     - com/sun/star/document/XExporter.hpp
284     - com/sun/star/document/XFilter.hpp
285     - com/sun/star/lang/XInitialization.hpp
286     - com/sun/star/lang/XServiceInfo.hpp
287     sw/source/core/inc/frame.hxx:
288     # Needed for direct member access
289     - com/sun/star/style/TabStop.hpp
290     sw/source/core/inc/SwXTextDefaults.hxx:
291     # Base class needs complete type
292     - com/sun/star/beans/XPropertySet.hpp
293     - com/sun/star/beans/XPropertyState.hpp
294     - com/sun/star/lang/XServiceInfo.hpp
295     sw/source/core/inc/swthreadjoiner.hxx:
296     # Needed for css shortcut
297     - sal/types.h
298     sw/source/core/inc/unobookmark.hxx:
299     # Base class needs complete type
300     - com/sun/star/lang/XUnoTunnel.hpp
301     - com/sun/star/lang/XServiceInfo.hpp
302     - com/sun/star/beans/XPropertySet.hpp
303     - com/sun/star/container/XNamed.hpp
304     - com/sun/star/text/XTextContent.hpp
305     - com/sun/star/text/XFormField.hpp
306     # Needed for UnoImplPtr template
307     - unobaseclass.hxx
308     sw/source/core/inc/unofield.hxx:
309     # Base class needs complete type
310     - com/sun/star/container/XEnumeration.hpp
311     - com/sun/star/lang/XServiceInfo.hpp
312     - com/sun/star/lang/XUnoTunnel.hpp
313     - com/sun/star/text/XDependentTextField.hpp
314     - com/sun/star/util/XUpdatable.hpp
315     # Needed for UnoImplPtr template
316     - unobaseclass.hxx
317     sw/source/core/inc/unoflatpara.hxx:
318     # Base class needs complete type
319     - com/sun/star/beans/XPropertySet.hpp
320     - com/sun/star/lang/XUnoTunnel.hpp
321     - com/sun/star/text/XFlatParagraph.hpp
322     - com/sun/star/text/XFlatParagraphIterator.hpp
323     sw/source/core/inc/unofootnote.hxx:
324     # Base class needs complete type
325     - com/sun/star/lang/XUnoTunnel.hpp
326     - com/sun/star/lang/XServiceInfo.hpp
327     - com/sun/star/beans/XPropertySet.hpp
328     - com/sun/star/container/XEnumerationAccess.hpp
329     - com/sun/star/text/XFootnote.hpp
330     sw/source/core/inc/unoidx.hxx:
331     # Base class needs complete type
332     - com/sun/star/lang/XServiceInfo.hpp
333     - com/sun/star/lang/XUnoTunnel.hpp
334     - com/sun/star/beans/XPropertySet.hpp
335     - com/sun/star/container/XNamed.hpp
336     - com/sun/star/util/XRefreshable.hpp
337     - com/sun/star/text/XDocumentIndexMark.hpp
338     - com/sun/star/text/XDocumentIndex.hpp
339     # Needed for UnoImplPtr template
340     - unobaseclass.hxx
341     sw/source/core/inc/unolinebreak.hxx:
342     # Needed for UnoImplPtr template
343     - unobaseclass.hxx
344     sw/source/core/inc/unometa.hxx:
345     # Base class needs complete type
346     - com/sun/star/lang/XServiceInfo.hpp
347     - com/sun/star/lang/XUnoTunnel.hpp
348     - com/sun/star/beans/XPropertySet.hpp
349     - com/sun/star/container/XChild.hpp
350     - com/sun/star/container/XEnumerationAccess.hpp
351     - com/sun/star/text/XTextContent.hpp
352     - com/sun/star/text/XTextField.hpp
353     # Needed for UnoImplPtr template
354     - unobaseclass.hxx
355     sw/source/core/inc/unorefmark.hxx:
356     # Base class needs complete type
357     - com/sun/star/lang/XUnoTunnel.hpp
358     - com/sun/star/lang/XServiceInfo.hpp
359     - com/sun/star/beans/XPropertySet.hpp
360     - com/sun/star/container/XNamed.hpp
361     - com/sun/star/text/XTextContent.hpp
362     # Needed for UnoImplPtr template
363     - unobaseclass.hxx
364     sw/source/core/inc/unoport.hxx:
365     # Base class needs complete type
366     - com/sun/star/text/XTextRange.hpp
367     - com/sun/star/beans/XPropertySet.hpp
368     - com/sun/star/container/XEnumeration.hpp
369     - com/sun/star/lang/XServiceInfo.hpp
370     - com/sun/star/lang/XUnoTunnel.hpp
371     - com/sun/star/container/XContentEnumerationAccess.hpp
372     - com/sun/star/beans/XMultiPropertySet.hpp
373     - com/sun/star/beans/XPropertyState.hpp
374     - com/sun/star/beans/XTolerantMultiPropertySet.hpp
375     sw/source/core/inc/unotextmarkup.hxx:
376     # Base class needs complete type
377     - com/sun/star/text/XTextMarkup.hpp
378     - com/sun/star/text/XMultiTextMarkup.hpp
379     # Needed for UnoImplPtr template
380     - unobaseclass.hxx
381     sw/source/core/inc/unosection.hxx:
382     # Base class needs complete type
383     - com/sun/star/lang/XUnoTunnel.hpp
384     - com/sun/star/lang/XServiceInfo.hpp
385     - com/sun/star/beans/XPropertySet.hpp
386     - com/sun/star/beans/XPropertyState.hpp
387     - com/sun/star/beans/XMultiPropertySet.hpp
388     - com/sun/star/container/XNamed.hpp
389     - com/sun/star/text/XTextSection.hpp
390     # Needed for UnoImplPtr template
391     - unobaseclass.hxx
392     sw/qa/extras/odfexport/odfexport.cxx:
393     # Needed for getProperty template
394     - com/sun/star/graphic/XGraphic.hpp
395     #Actually used
396     - comphelper/scopeguard.hxx
397     sw/qa/extras/odfimport/odfimport.cxx:
398     # Needed for direct member access
399     - com/sun/star/text/XTextSection.hpp
400     sw/qa/extras/ooxmlexport/ooxmlexport.cxx:
401     # Needed for direct member access
402     - com/sun/star/graphic/XGraphic.hpp
403     - com/sun/star/text/TableColumnSeparator.hpp
404     sw/qa/extras/ooxmlexport/ooxmlexport2.cxx:
405     # Needed for direct member access
406     - com/sun/star/awt/XBitmap.hpp
407     sw/qa/extras/ooxmlexport/ooxmlexport3.cxx:
408     # Needed for direct member access
409     - com/sun/star/xml/dom/XDocument.hpp
410     sw/qa/extras/ooxmlexport/ooxmlexport4.cxx:
411     # Needed for direct member access
412     - com/sun/star/awt/XBitmap.hpp
413     sw/qa/extras/ooxmlexport/ooxmlexport8.cxx:
414     # Needed for direct member access
415     - com/sun/star/graphic/XGraphic.hpp
416     sw/qa/extras/ooxmlexport/ooxmlexport9.cxx:
417     # Needed for direct member access
418     - com/sun/star/graphic/XGraphic.hpp
419     sw/qa/extras/ooxmlexport/ooxmlexport10.cxx:
420     # Needed for direct member access
421     - com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp
422     - com/sun/star/graphic/XGraphic.hpp
423     - com/sun/star/text/TableColumnSeparator.hpp
424     - com/sun/star/text/XTextColumns.hpp
425     sw/qa/extras/ooxmlexport/ooxmlexport17.cxx:
426     # Actually used
427     - comphelper/scopeguard.hxx
428     sw/qa/extras/ooxmlimport/ooxmlimport2.cxx:
429     # Needed for direct member access
430     - com/sun/star/document/XEmbeddedObjectSupplier2.hpp
431     - com/sun/star/embed/Aspects.hpp
432     sw/qa/extras/rtfimport/rtfimport.cxx:
433     # Needed for direct member access
434     - com/sun/star/graphic/XGraphic.hpp
435     - com/sun/star/text/XDocumentIndexMark.hpp
436     # Needed in C++20 mode
437     - o3tl/cppunittraitshelper.hxx
438     sw/qa/extras/uiwriter/uiwriter.cxx:
439     # Needed for for-loop range
440     - PostItMgr.hxx
441     sw/qa/extras/uiwriter/uiwriter4.cxx:
442     # Needed in C++20 mode
443     - o3tl/cppunittraitshelper.hxx
444     sw/qa/extras/uiwriter/uiwriter6.cxx:
445     # Needed in C++20 mode
446     - o3tl/cppunittraitshelper.hxx
447     sw/qa/uibase/uiview/uiview.cxx:
448     # Actually used
449     - comphelper/scopeguard.hxx
450     sw/qa/extras/unowriter/unowriter.cxx:
451     # Needed for direct member access
452     - com/sun/star/awt/XDevice.hpp
453     # Needed for for-loop range
454     - com/sun/star/graphic/XGraphic.hpp
455     sw/qa/extras/ww8export/ww8export.cxx:
456     # Needed for direct member access
457     - com/sun/star/graphic/XGraphic.hpp
458     sw/qa/extras/ww8import/ww8import.cxx:
459     # Needed for for-loop range
460     - com/sun/star/graphic/XGraphic.hpp
461     sw/qa/extras/layout/layout.cxx:
462     - comphelper/scopeguard.hxx
463     - com/sun/star/linguistic2/LinguServiceManager.hpp
464     sw/source/core/access/AccessibilityCheck.cxx:
465     # Needed for template
466     - com/sun/star/frame/XModel.hpp
467     sw/source/core/access/accnotextframe.cxx:
468     # Actually used
469     - com/sun/star/accessibility/XAccessibleRelationSet.hpp
470     sw/source/core/access/accpara.cxx:
471     # Actually used
472     - com/sun/star/accessibility/AccessibleScrollType.hpp
473     sw/source/core/access/acctextframe.cxx:
474     # Actually used
475     - com/sun/star/accessibility/XAccessibleRelationSet.hpp
476     sw/source/core/doc/DocumentFieldsManager.cxx:
477     # Actually used
478     - comphelper/scopeguard.hxx
479     sw/source/core/doc/DocumentStatisticsManager.cxx:
480     # Needed for template
481     - com/sun/star/frame/XModel.hpp
482     sw/source/core/doc/docbm.cxx:
483     # Needed for implicit dtor SwHistoryTextFieldmark
484     - rolbck.hxx
485     sw/source/core/doc/docredln.cxx:
486     # Needed for linker visibility of sw_DebugRedline
487     - docredln.hxx
488     sw/source/core/doc/doccomp.cxx:
489     # Needed for template
490     - com/sun/star/frame/XModel.hpp
491     sw/source/core/doc/docglbl.cxx:
492     # Needed for template
493     - com/sun/star/frame/XModel.hpp
494     sw/source/core/doc/docglos.cxx:
495     # Needed for template
496     - com/sun/star/frame/XModel.hpp
497     sw/source/core/docnode/threadmanager.cxx:
498     # Actually used
499     - com/sun/star/util/XJobManager.hpp
500     sw/source/core/draw/drawdoc.cxx:
501     # Needed for template
502     - com/sun/star/frame/XModel.hpp
503     sw/source/filter/html/htmlreqifreader.cxx:
504     - comphelper/scopeguard.hxx
505     sw/source/uibase/sidebar/PageMarginUtils.hxx:
506     # Needed for std::abs
507     - cmath
508     sw/source/core/crsr/paminit.cxx:
509     # Needed for linker visibility of extern functions
510     - cshtyp.hxx
511     sw/source/core/undo/untbl.cxx:
512     # Needed for linker visibility of sw_DebugRedline
513     - docredln.hxx
514     sw/source/core/edit/edfcol.cxx:
515     # Actually used
516     - comphelper/scopeguard.hxx
517     sw/source/core/fields/textapi.cxx:
518     # Needed for macros to work
519     - editeng/unoprnms.hxx
520     - com/sun/star/lang/Locale.hpp
521     sw/source/core/layout/layact.cxx:
522     # Actually used
523     - comphelper/scopeguard.hxx
524     sw/source/core/swg/SwXMLBlockExport.cxx:
525     # Actually used
526     - com/sun/star/xml/sax/XDocumentHandler.hpp
527     sw/source/core/swg/SwXMLSectionList.cxx:
528     # Actually used
529     - vector
530     sw/source/core/text/porrst.cxx:
531     # Actually used
532     - comphelper/scopeguard.hxx
533     sw/source/core/text/txtftn.cxx:
534     # Needed for template
535     - com/sun/star/text/XTextRange.hpp
536     sw/source/core/undo/unsect.cxx:
537     # Actually used
538     - comphelper/scopeguard.hxx
539     sw/source/core/unocore/unomap1.cxx:
540     # Needed for UnoType macro
541     - com/sun/star/container/XIndexReplace.hpp
542     - com/sun/star/container/XIndexContainer.hpp
543     - com/sun/star/drawing/LineStyle.hpp
544     - com/sun/star/lang/Locale.hpp
545     - com/sun/star/style/DropCapFormat.hpp
546     - com/sun/star/style/LineSpacing.hpp
547     - com/sun/star/style/TabStop.hpp
548     - com/sun/star/text/XDocumentIndexMark.hpp
549     - com/sun/star/text/XFootnote.hpp
550     - com/sun/star/text/XTextField.hpp
551     - com/sun/star/util/DateTime.hpp
552     sw/source/core/unocore/unoport.cxx:
553     # Actually used
554     - com/sun/star/text/XFootnote.hpp
555     - com/sun/star/text/XTextField.hpp
556     - com/sun/star/beans/SetPropertyTolerantFailed.hpp
557     - com/sun/star/beans/GetPropertyTolerantResult.hpp
558     sw/source/core/unocore/unoparagraph.cxx:
559     # Actually used
560     - com/sun/star/beans/SetPropertyTolerantFailed.hpp
561     - com/sun/star/beans/GetPropertyTolerantResult.hpp
562     sw/source/core/unocore/unotextmarkup.cxx:
563     # Actually used
564     - com/sun/star/text/TextMarkupDescriptor.hpp
565     - com/sun/star/text/XTextRange.hpp
566     sw/source/core/unocore/unotbl.cxx:
567     # No .hxx -> .h replacement in URE headers
568     - cppuhelper/interfacecontainer.hxx
569     sw/source/core/unocore/unoredline.cxx:
570     # Needed for template
571     - com/sun/star/text/XTextSection.hpp
572     sw/source/core/unocore/unostyle.cxx:
573     # Needed for template
574     - com/sun/star/frame/XModel.hpp
575     sw/source/filter/basflt/iodetect.cxx:
576     # Actually used
577     - com/sun/star/embed/XStorage.hpp
578     sw/source/filter/html/SwAppletImpl.cxx:
579     # Needed for direct member access
580     - com/sun/star/embed/XEmbeddedObject.hpp
581     sw/source/filter/html/htmlfld.cxx:
582     # Needed for template
583     - com/sun/star/frame/XModel.hpp
584     sw/source/filter/html/htmlforw.cxx:
585     # Needed for template
586     - com/sun/star/frame/XModel.hpp
587     sw/source/filter/html/wrthtml.cxx:
588     # Actually used
589     - comphelper/scopeguard.hxx
590     # Needed for template
591     - com/sun/star/frame/XModel.hpp
592     sw/source/filter/html/swhtml.cxx:
593     # Actually used
594     - com/sun/star/document/XDocumentProperties.hpp
595     sw/source/filter/ww8/docxtablestyleexport.cxx:
596     # Actually used
597     - com/sun/star/beans/PropertyValue.hpp
598     sw/source/filter/ww8/docxexport.cxx:
599     # Actually used
600     - com/sun/star/drawing/XShape.hpp
601     - com/sun/star/frame/XModel.hpp
602     - com/sun/star/awt/XControlModel.hpp
603     sw/source/filter/ww8/wrtw8nds.cxx:
604     # Actually used
605     - com/sun/star/i18n/BreakIterator.hpp
606     sw/source/filter/ww8/ww8graf.cxx:
607     # Needed for implicit dtor
608     - ww8par2.hxx
609     sw/source/filter/ww8/wrtww8.cxx:
610     - com/sun/star/frame/XModel.hpp
611     sw/source/filter/xml/xmlbrsh.cxx:
612     # Needed for XMLOFF_WARN_UNKNOWN_ELEMENT
613     - sal/log.hxx
614     sw/source/filter/xml/xmlexp.hxx:
615     # Needed for typedef
616     - vector
617     sw/source/filter/xml/xmlfmt.cxx:
618     # Needed for template
619     - com/sun/star/frame/XModel.hpp
620     sw/source/filter/xml/xmlitem.cxx:
621     # Needed for XMLOFF_WARN_UNKNOWN_ELEMENT
622     - sal/log.hxx
623     sw/source/filter/xml/xmlmeta.cxx:
624     # Needed for template
625     - com/sun/star/frame/XModel.hpp
626     sw/source/filter/xml/xmltbli.cxx:
627     # Needed for template
628     - com/sun/star/frame/XModel.hpp
629     sw/source/filter/xml/wrtxml.cxx:
630     # Actually used
631     - com/sun/star/task/XStatusIndicator.hpp
632     sw/source/filter/xml/xmlimp.cxx:
633     # Actually used
634     - com/sun/star/text/XTextRange.hpp
635     sw/source/uibase/app/docsh2.cxx:
636     # Needed for direct member access
637     - ooo/vba/word/XDocument.hpp
638     sw/source/uibase/app/docst.cxx:
639     # Needed for template
640     - com/sun/star/frame/XModel.hpp
641     sw/source/uibase/config/modcfg.cxx:
642     # Needed for TypedWhichId macros in editeng/editids.hrc
643     - svl/typedwhich.hxx
644     sw/source/uibase/dbui/mmconfigitem.cxx:
645     # Actually used
646     - com/sun/star/sdbc/XDataSource.hpp
647     sw/source/uibase/dochdl/gloshdl.cxx:
648     # Needed for direct member access
649     - docsh.hxx
650     sw/source/uibase/docvw/edtdd.cxx:
651     # Needed for extern variable
652     - edtdd.hxx
653     sw/source/uibase/docvw/srcedtw.cxx:
654     # Needed for template
655     - com/sun/star/container/XHierarchicalNameAccess.hpp
656     sw/source/uibase/misc/glshell.cxx:
657     # Needed for template
658     - com/sun/star/frame/XModel.hpp
659     sw/source/uibase/shells/basesh.cxx:
660     # Actually used
661     - comphelper/scopeguard.hxx
662     sw/source/uibase/shells/slotadd.cxx:
663     # Needed for swslots.hxx
664     - config_options.h
665     - cmdid.h
666     - unomid.h
667     - svx/unomid.hxx
668     - svl/globalnameitem.hxx
669     - editeng/memberids.h
670     - svl/imageitm.hxx
671     - svl/rectitem.hxx
672     - sfx2/objitem.hxx
673     - sfx2/objsh.hxx
674     - svx/rulritem.hxx
675     - sfx2/zoomitem.hxx
676     - svx/viewlayoutitem.hxx
677     - svx/zoomslideritem.hxx
678     - svx/hlnkitem.hxx
679     - svx/SmartTagItem.hxx
680     - svl/ptitem.hxx
681     - svx/pageitem.hxx
682     - svl/srchitem.hxx
683     - sfx2/tplpitem.hxx
684     - sfx2/watermarkitem.hxx
685     - editeng/wrlmitem.hxx
686     - editeng/protitem.hxx
687     - editeng/opaqitem.hxx
688     - editeng/tstpitem.hxx
689     - editeng/autokernitem.hxx
690     - editeng/keepitem.hxx
691     - editeng/kernitem.hxx
692     - editeng/spltitem.hxx
693     - editeng/brushitem.hxx
694     - editeng/wghtitem.hxx
695     - editeng/shaditem.hxx
696     - editeng/pbinitem.hxx
697     - editeng/ulspitem.hxx
698     - editeng/prntitem.hxx
699     - editeng/orphitem.hxx
700     - editeng/widwitem.hxx
701     - editeng/lineitem.hxx
702     - editeng/pmdlitem.hxx
703     - editeng/cmapitem.hxx
704     - editeng/langitem.hxx
705     - editeng/formatbreakitem.hxx
706     - editeng/hyphenzoneitem.hxx
707     - editeng/escapementitem.hxx
708     - editeng/lspcitem.hxx
709     - editeng/adjustitem.hxx
710     - editeng/crossedoutitem.hxx
711     - editeng/fontitem.hxx
712     - editeng/shdditem.hxx
713     - editeng/udlnitem.hxx
714     - editeng/postitem.hxx
715     - editeng/fhgtitem.hxx
716     - editeng/contouritem.hxx
717     - editeng/colritem.hxx
718     - editeng/boxitem.hxx
719     - editeng/sizeitem.hxx
720     - editeng/lrspitem.hxx
721     - svx/sdmetitm.hxx
722     - svx/sdprcitm.hxx
723     - svx/xlnstit.hxx
724     - svx/xlnedit.hxx
725     - svx/xfillit0.hxx
726     - svx/xflclit.hxx
727     - svx/xflgrit.hxx
728     - svx/xflhtit.hxx
729     - svx/xbtmpit.hxx
730     - svx/xlineit0.hxx
731     - svx/xlnwtit.hxx
732     - svx/xlndsit.hxx
733     - svx/xlnclit.hxx
734     - svx/xtextit0.hxx
735     - svx/xftadit.hxx
736     - svx/xftdiit.hxx
737     - svx/xftstit.hxx
738     - svx/xftmrit.hxx
739     - svx/xftouit.hxx
740     - svx/xftshit.hxx
741     - svx/xftshcit.hxx
742     - svx/xftshxy.hxx
743     - svx/grafctrl.hxx
744     - paratr.hxx
745     - fmtinfmt.hxx
746     - fmtsrnd.hxx
747     - envimg.hxx
748     - fmtline.hxx
749     - svx/clipfmtitem.hxx
750     - editeng/blinkitem.hxx
751     - svl/slstitm.hxx
752     - editeng/paravertalignitem.hxx
753     - editeng/charreliefitem.hxx
754     - editeng/charrotateitem.hxx
755     - editeng/charscaleitem.hxx
756     - svx/postattr.hxx
757     - sfx2/frame.hxx
758     - svx/chrtitem.hxx
759     - svx/drawitem.hxx
760     - svx/xflftrit.hxx
761     - svx/xlncapit.hxx
762     - svx/xlinjoit.hxx
763     - svx/galleryitem.hxx
764     - svx/sdangitm.hxx
765     - sfx2/msg.hxx
766     sw/source/uibase/shells/textsh.cxx:
767     # Needed for defines in swslots.hxx
768     - globals.hrc
769     sw/source/uibase/uiview/srcview.cxx:
770     # Needed for template
771     - com/sun/star/frame/XModel.hpp
772     sw/source/uibase/uiview/view0.cxx:
773     # Needed for defines in swslots.hxx
774     - globals.hrc
775     sw/source/uibase/utlui/content.cxx:
776     # Needed for implicit dtor
777     - AnnotationWin.hxx
778     sw/source/uibase/web/wformsh.cxx:
779     # Needed for defines in swslots.hxx
780     - sfx2/sfxsids.hrc
781     sw/source/uibase/web/wfrmsh.cxx:
782     # Needed for defines in swslots.hxx
783     - cmdid.h
784     sw/source/uibase/web/wtextsh.cxx:
785     # Needed for defines in swslots.hxx
786     - globals.hrc
787     sw/source/uibase/web/wdocsh.cxx:
788     # Needed for defines in swslots.hxx
789     - svx/svxids.hrc
790     sw/source/uibase/web/wlistsh.cxx:
791     # Needed for defines in swslots.hxx
792     - cmdid.h
793     sw/source/uibase/web/wtabsh.cxx:
794     # Needed for defines in swslots.hxx
795     - cmdid.h
796     sw/source/uibase/web/wgrfsh.cxx:
797     # Needed for defines in swslots.hxx
798     - cmdid.h
799     sw/source/uibase/web/wview.cxx:
800     # Needed for defines in swslots.hxx
801     - cmdid.h
802     - globals.hrc
803     sw/source/ui/dialog/wordcountdialog.cxx:
804     # Needed for rtl::math::round
805     - rtl/math.hxx
806     sw/source/ui/fldui/fldedt.cxx:
807     # Needed for template
808     - com/sun/star/frame/XModel.hpp
809     sw/source/ui/fldui/flddinf.cxx:
810     # Needed for direct member access
811     - com/sun/star/beans/XPropertySet.hpp
812     sw/source/ui/vba/vbacolumn.cxx:
813     # Actually needed
814     - com/sun/star/frame/XModel.hpp
815     sw/source/ui/vba/vbafield.cxx:
816     # Actually needed
817     - com/sun/star/frame/XModel.hpp
818     sw/source/ui/vba/vbafind.cxx:
819     # Actually needed
820     - com/sun/star/frame/XModel.hpp
821     sw/source/ui/vba/vbaframe.cxx:
822     # Actually needed
823     - com/sun/star/frame/XModel.hpp
824     sw/source/ui/vba/vbafont.cxx:
825     # Actually needed
826     - com/sun/star/beans/XPropertySet.hpp
827     - com/sun/star/container/XIndexAccess.hpp
828     sw/source/ui/vba/vbaheaderfooter.cxx:
829     # Actually needed
830     - com/sun/star/beans/XPropertySet.hpp
831     sw/source/ui/vba/vbaglobals.cxx:
832     # Needed for extern functions
833     - service.hxx
834     sw/source/ui/vba/vbalistformat.cxx:
835     # Actually used
836     - comphelper/scopeguard.hxx
837     sw/source/ui/vba/vbalisttemplate.cxx:
838     # Actually needed
839     - com/sun/star/beans/XPropertySet.hpp
840     sw/source/ui/vba/vbaparagraphformat.cxx:
841     # Actually needed
842     - com/sun/star/style/ParagraphAdjust.hpp
843     - com/sun/star/beans/XPropertySet.hpp
844     sw/source/ui/vba/vbasystem.cxx:
845     # Needed on WIN
846     - o3tl/char16_t2wchar_t.hxx
847     sw/source/ui/vba/vbarow.cxx:
848     # Actually needed
849     - com/sun/star/frame/XModel.hpp
850     sw/source/ui/vba/vbatabstops.cxx:
851     # Actually needed
852     - com/sun/star/beans/XPropertySet.hpp
853     sw/source/filter/rtf/swparrtf.cxx:
854     - com/sun/star/frame/XModel.hpp
855     sw/source/filter/ww8/docxtablestyleexport.cxx:
856     - com/sun/star/frame/XModel.hpp
857     sw/source/filter/ww8/rtfexport.cxx:
858     - com/sun/star/frame/XModel.hpp
859     sw/qa/core/macros-test.cxx:
860     - comphelper/scopeguard.hxx
861     sw/source/filter/docx/swdocxreader.cxx:
862     - com/sun/star/frame/XModel.hpp
863     sw/source/core/fields/docufld.cxx:
864     - com/sun/star/frame/XModel.hpp
865     sw/source/filter/xml/xmltexti.cxx:
866     - com/sun/star/frame/XModel.hpp
867     sw/source/ui/fldui/fldtdlg.cxx:
868     - com/sun/star/frame/XModel.hpp
869     sw/source/uibase/uno/dlelstnr.cxx:
870     - com/sun/star/linguistic2/XProofreadingIterator.hpp
871     sw/qa/extras/ooxmlimport/ooxmlimport.cxx:
872     # Required in C++20 mode.
873     - o3tl/cppunittraitshelper.hxx
874     # Actually used
875     - comphelper/scopeguard.hxx
876     sw/qa/extras/ooxmlexport/ooxmlexport.cxx:
877     # Required in C++20 mode.
878     - o3tl/cppunittraitshelper.hxx
879     sw/qa/extras/ooxmlexport/ooxmlexport5.cxx:
880     # Required in C++20 mode.
881     - o3tl/cppunittraitshelper.hxx
882     sw/qa/extras/uiwriter/uiwriter.cxx:
883     # Required in C++20 mode.
884     - o3tl/cppunittraitshelper.hxx
885     sw/qa/extras/uiwriter/uiwriter2.cxx:
886     # Actually used
887     - comphelper/scopeguard.hxx
888     sw/qa/extras/rtfexport/rtfexport4.cxx:
889     # Required in C++20 mode.
890     - o3tl/cppunittraitshelper.hxx
891     sw/qa/extras/txtexport/txtexport.cxx:
892     # No .hxx -> .h replacement in URE headers
893     - osl/thread.hxx
894     sw/qa/extras/layout/layout2.cxx:
895     # Actually used
896     - comphelper/scopeguard.hxx
897     sw/source/writerfilter/dmapper/BorderHandler.cxx:
898     # Needed for method parameter type
899     - tools/color.hxx
900     sw/source/writerfilter/dmapper/ConversionHelper.cxx:
901     # Actually used
902     - com/sun/star/table/BorderLine2.hpp
903     - com/sun/star/lang/Locale.hpp
904     sw/source/writerfilter/dmapper/DomainMapperTableManager.cxx:
905     # Needed for rtl::math::round
906     - rtl/math.hxx
907     sw/source/writerfilter/dmapper/GraphicImport.cxx:
908     # Actually used
909     - com/sun/star/drawing/XShape.hpp
910     - com/sun/star/graphic/XGraphic.hpp
911     - com/sun/star/lang/XMultiServiceFactory.hpp
912     - com/sun/star/uno/XComponentContext.hpp
913     # Needed for rtl::math::round
914     - rtl/math.hxx
915     sw/source/writerfilter/dmapper/NumberingManager.cxx:
916     # Actually used
917     - com/sun/star/lang/XMultiServiceFactory.hpp
918     - com/sun/star/container/XNameContainer.hpp
919     sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx:
920     # Actually used
921     - com/sun/star/uno/XComponentContext.hpp
922     sw/source/writerfilter/dmapper/OLEHandler.cxx:
923     # Actually used
924     - com/sun/star/drawing/XShape.hpp
925     - com/sun/star/graphic/XGraphic.hpp
926     - com/sun/star/text/XTextDocument.hpp
927     - com/sun/star/text/WrapTextMode.hpp
928     - com/sun/star/uno/XComponentContext.hpp
929     sw/source/writerfilter/dmapper/TDefTableHandler.cxx:
930     # Needed for method parameter type
931     - tools/color.hxx
932     sw/source/writerfilter/dmapper/TablePositionHandler.cxx:
933     # Actually used
934     - com/sun/star/beans/PropertyValue.hpp
935     sw/source/writerfilter/dmapper/PropertyMap.cxx:
936     # Actually used
937     - com/sun/star/beans/PropertyValue.hpp
938     - com/sun/star/text/XTextColumns.hpp
939     sw/source/writerfilter/dmapper/StyleSheetTable.cxx:
940     # Actually used
941     - com/sun/star/text/XTextDocument.hpp
942     sw/source/writerfilter/ooxml/OOXMLPropertySet.cxx:
943     # Actually used
944     - com/sun/star/drawing/XShape.hpp
945     sw/source/writerfilter/rtftok/rtfsdrimport.hxx:
946     # IWYU assumes std::stack<IncompleteType> in a header is OK, but that's not
947     # the case for all of LO's supported platforms.
948     # See <https://github.com/include-what-you-use/include-what-you-use/issues/175>.
949     - dmapper/GraphicZOrderHelper.hxx
950     sw/source/writerfilter/rtftok/rtfvalue.cxx:
951     # complete type is needed
952     - com/sun/star/embed/XEmbeddedObject.hpp
953     sw/source/writerfilter/rtftok/rtftokenizer.cxx:
954     # Actually used
955     - com/sun/star/task/XStatusIndicator.hpp
956     sw/source/writerfilter/filter/RtfFilter.cxx:
957     - comphelper/scopeguard.hxx
958     sw/source/writerfilter/filter/WriterFilter.cxx:
959     - comphelper/scopeguard.hxx