diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-01-27 22:42:15 +0100 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2022-01-28 10:33:53 +0100 |
commit | e53ad7928fc1cbe9950efebe41f1aa5a1a289439 (patch) | |
tree | d34ca6ac15abbed35c8187daf0399b8d7da417cd /sw | |
parent | a610126ea7288574ce57e1d253032786e7a23605 (diff) |
CppunitTest_sw_uiwriter*: remove unused includes
Change-Id: I9f06f259df43ba5f5ea591427e86b1191c712dfb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129087
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 46 | ||||
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter2.cxx | 11 | ||||
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter3.cxx | 8 | ||||
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter4.cxx | 82 |
4 files changed, 0 insertions, 147 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index aa58f31d425c..1e8eedc1b0c4 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -7,28 +7,19 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <memory> -#include <string_view> #include <com/sun/star/awt/FontWeight.hpp> #include <com/sun/star/drawing/GraphicExportFilter.hpp> -#include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/i18n/TextConversionOption.hpp> -#include <com/sun/star/style/CaseMap.hpp> -#include <vcl/errcode.hxx> -#include <tools/gen.hxx> #include <swmodeltestbase.hxx> #include <ndtxt.hxx> #include <wrtsh.hxx> #include <shellio.hxx> #include <expfld.hxx> #include <drawdoc.hxx> -#include <docary.hxx> #include <redline.hxx> -#include <section.hxx> #include <fmtclds.hxx> #include <dcontact.hxx> -#include <textboxhelper.hxx> #include <view.hxx> #include <hhcwrp.hxx> #include <swacorr.hxx> @@ -37,13 +28,8 @@ #include <charatr.hxx> #include <editeng/acorrcfg.hxx> #include <unotools/streamwrap.hxx> -#include <unocrsr.hxx> #include <unocrsrhelper.hxx> #include <unotbl.hxx> -#include <IMark.hxx> -#include <IDocumentMarkAccess.hxx> -#include <IDocumentSettingAccess.hxx> -#include <pagedesc.hxx> #include <PostItMgr.hxx> #include <AnnotationWin.hxx> #include <com/sun/star/text/XDefaultNumberingProvider.hpp> @@ -52,24 +38,11 @@ #include <svx/svdpage.hxx> #include <svx/svdview.hxx> -#include <svl/itemiter.hxx> #include <svx/svxids.hrc> -#include <unotools/localfilehelper.hxx> -#include <vcl/filter/PDFiumLibrary.hxx> #include <editeng/eeitem.hxx> #include <editeng/scripttypeitem.hxx> -#include <editeng/fontitem.hxx> -#include <editeng/lrspitem.hxx> -#include <editeng/opaqitem.hxx> -#include <editeng/protitem.hxx> -#include <editeng/ulspitem.hxx> -#include <editeng/wghtitem.hxx> -#include <i18nutil/transliteration.hxx> #include <i18nutil/searchopt.hxx> -#include <reffld.hxx> -#include <dbfld.hxx> -#include <txatbase.hxx> #include <txtftn.hxx> #include <IDocumentDrawModelAccess.hxx> #include <IDocumentFieldsAccess.hxx> @@ -80,16 +53,12 @@ #include <textsh.hxx> #include <frmatr.hxx> #include <frmmgr.hxx> -#include <tblafmt.hxx> -#include <com/sun/star/lang/Locale.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/util/XNumberFormatTypes.hpp> #include <com/sun/star/util/NumberFormat.hpp> #include <com/sun/star/util/XNumberFormatsSupplier.hpp> #include <com/sun/star/util/SearchAlgorithms2.hpp> #include <com/sun/star/util/SearchFlags.hpp> -#include <com/sun/star/util/SearchAlgorithms.hpp> #include <com/sun/star/sdb/DatabaseContext.hpp> #include <com/sun/star/sdbcx/XTablesSupplier.hpp> #include <com/sun/star/sdbc/XDataSource.hpp> @@ -100,29 +69,17 @@ #include <com/sun/star/text/TextMarkupType.hpp> #include <com/sun/star/chart2/data/XDataSource.hpp> #include <com/sun/star/document/XEmbeddedObjectSupplier2.hpp> -#include <com/sun/star/drawing/XShape.hpp> -#include <com/sun/star/linguistic2/XLinguProperties.hpp> -#include <com/sun/star/text/XTextViewCursorSupplier.hpp> -#include <com/sun/star/text/XPageCursor.hpp> -#include <o3tl/cppunittraitshelper.hxx> #include <osl/file.hxx> -#include <osl/thread.hxx> -#include <paratr.hxx> #include <drawfont.hxx> #include <txtfrm.hxx> #include <txttypes.hxx> #include <SwPortionHandler.hxx> -#include <hyp.hxx> -#include <swdtflvr.hxx> -#include <editeng/svxenum.hxx> #include <comphelper/propertysequence.hxx> -#include <sfx2/classificationhelper.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> #include <sfx2/docfilt.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/dispatch.hxx> #include <comphelper/configurationhelper.hxx> -#include <editeng/unolingu.hxx> #include <vcl/scheduler.hxx> #include <config_features.h> #include <config_fonts.h> @@ -132,10 +89,7 @@ #include <test/htmltesttools.hxx> #include <fmthdft.hxx> #include <iodetect.hxx> -#include <wrthtml.hxx> -#include <dbmgr.hxx> #include <frameformats.hxx> -#include <docsh.hxx> #include <unotxdoc.hxx> #include <comphelper/processfactory.hxx> #include <rootfrm.hxx> diff --git a/sw/qa/extras/uiwriter/uiwriter2.cxx b/sw/qa/extras/uiwriter/uiwriter2.cxx index f730a0285d87..5ef95215178b 100644 --- a/sw/qa/extras/uiwriter/uiwriter2.cxx +++ b/sw/qa/extras/uiwriter/uiwriter2.cxx @@ -9,8 +9,6 @@ #include <swmodeltestbase.hxx> -#include <sstream> - #include <boost/property_tree/json_parser.hpp> #include <com/sun/star/awt/FontSlant.hpp> @@ -18,20 +16,16 @@ #include <com/sun/star/awt/FontWeight.hpp> #include <com/sun/star/chart/XChartDocument.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> -#include <com/sun/star/chart2/AxisOrientation.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/style/LineSpacing.hpp> #include <com/sun/star/text/TableColumnSeparator.hpp> #include <com/sun/star/view/XSelectionSupplier.hpp> #include <com/sun/star/text/XTextTable.hpp> #include <com/sun/star/text/XTextViewCursorSupplier.hpp> -#include <com/sun/star/table/XTableRows.hpp> #include <comphelper/propertysequence.hxx> #include <comphelper/propertyvalue.hxx> #include <comphelper/configuration.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> -#include <i18nlangtag/languagetag.hxx> #include <vcl/scheduler.hxx> #include <vcl/settings.hxx> #include <ndtxt.hxx> @@ -42,13 +36,11 @@ #include <fmtanchr.hxx> #include <UndoManager.hxx> #include <sortedobjs.hxx> -#include <anchoredobject.hxx> #include <itabenum.hxx> #include <fmtfsize.hxx> #include <xmloff/odffields.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/dispatch.hxx> -#include <svl/stritem.hxx> #include <comphelper/lok.hxx> #include <comphelper/scopeguard.hxx> #include <editeng/acorrcfg.hxx> @@ -59,18 +51,15 @@ #include <cmdid.h> #include <AnnotationWin.hxx> #include <PostItMgr.hxx> -#include <postithelper.hxx> #include <fmtcntnt.hxx> #include <frameformats.hxx> #include <shellio.hxx> #include <editeng/fontitem.hxx> #include <tools/json_writer.hxx> -#include <docsh.hxx> #include <unotxdoc.hxx> #include <IDocumentLayoutAccess.hxx> #include <rootfrm.hxx> #include <com/sun/star/packages/zip/ZipFileAccess.hpp> -#include <comphelper/processfactory.hxx> namespace { diff --git a/sw/qa/extras/uiwriter/uiwriter3.cxx b/sw/qa/extras/uiwriter/uiwriter3.cxx index dc52dafe92ec..e85ee5c5714f 100644 --- a/sw/qa/extras/uiwriter/uiwriter3.cxx +++ b/sw/qa/extras/uiwriter/uiwriter3.cxx @@ -16,30 +16,22 @@ #include <com/sun/star/drawing/GraphicExportFilter.hpp> #include <IDocumentDrawModelAccess.hxx> #include <com/sun/star/table/TableBorder2.hpp> -#include <com/sun/star/text/TextContentAnchorType.hpp> #include <com/sun/star/text/XDocumentIndex.hpp> #include <com/sun/star/text/XTextFrame.hpp> -#include <com/sun/star/text/XTextTablesSupplier.hpp> #include <com/sun/star/text/XTextTable.hpp> #include <com/sun/star/text/XTextViewCursorSupplier.hpp> #include <com/sun/star/text/XPageCursor.hpp> #include <comphelper/propertysequence.hxx> #include <boost/property_tree/json_parser.hpp> -#include <fmtanchr.hxx> #include <frameformats.hxx> #include <swdtflvr.hxx> -#include <textboxhelper.hxx> -#include <o3tl/safeint.hxx> #include <tools/json_writer.hxx> -#include <unotools/mediadescriptor.hxx> #include <unotools/streamwrap.hxx> #include <sfx2/linkmgr.hxx> -#include <fmtinfmt.hxx> #include <view.hxx> #include <wrtsh.hxx> #include <unotxdoc.hxx> -#include <docsh.hxx> #include <drawdoc.hxx> #include <dcontact.hxx> #include <svx/svdpage.hxx> diff --git a/sw/qa/extras/uiwriter/uiwriter4.cxx b/sw/qa/extras/uiwriter/uiwriter4.cxx index b523ddaf3db7..8f6c31f8ab45 100644 --- a/sw/qa/extras/uiwriter/uiwriter4.cxx +++ b/sw/qa/extras/uiwriter/uiwriter4.cxx @@ -8,140 +8,58 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <memory> -#include <string_view> - -#include <com/sun/star/awt/FontWeight.hpp> -#include <com/sun/star/drawing/GraphicExportFilter.hpp> #include <com/sun/star/drawing/FillStyle.hpp> -#include <com/sun/star/i18n/TextConversionOption.hpp> #include <com/sun/star/style/CaseMap.hpp> -#include <vcl/errcode.hxx> -#include <tools/gen.hxx> #include <swmodeltestbase.hxx> #include <ndtxt.hxx> #include <wrtsh.hxx> -#include <shellio.hxx> -#include <expfld.hxx> #include <drawdoc.hxx> -#include <docary.hxx> #include <redline.hxx> -#include <section.hxx> -#include <fmtclds.hxx> #include <dcontact.hxx> -#include <textboxhelper.hxx> #include <view.hxx> -#include <hhcwrp.hxx> #include <swacorr.hxx> -#include <swmodule.hxx> #include <modcfg.hxx> -#include <charatr.hxx> #include <editeng/acorrcfg.hxx> -#include <unotools/streamwrap.hxx> -#include <unocrsr.hxx> -#include <unocrsrhelper.hxx> #include <unotbl.hxx> -#include <IMark.hxx> -#include <IDocumentMarkAccess.hxx> #include <IDocumentSettingAccess.hxx> -#include <pagedesc.hxx> -#include <PostItMgr.hxx> -#include <AnnotationWin.hxx> -#include <com/sun/star/text/XDefaultNumberingProvider.hpp> -#include <com/sun/star/awt/FontUnderline.hpp> #include <com/sun/star/text/XTextColumns.hpp> -#include <vcl/TypeSerializer.hxx> #include <svx/svdpage.hxx> #include <svx/svdview.hxx> #include <svl/itemiter.hxx> -#include <svx/svxids.hrc> -#include <unotools/localfilehelper.hxx> #include <vcl/filter/PDFiumLibrary.hxx> -#include <editeng/eeitem.hxx> -#include <editeng/scripttypeitem.hxx> -#include <editeng/fontitem.hxx> -#include <editeng/lrspitem.hxx> -#include <editeng/opaqitem.hxx> -#include <editeng/protitem.hxx> -#include <editeng/ulspitem.hxx> -#include <editeng/wghtitem.hxx> #include <i18nutil/transliteration.hxx> -#include <i18nutil/searchopt.hxx> -#include <reffld.hxx> #include <dbfld.hxx> #include <txatbase.hxx> -#include <txtftn.hxx> #include <IDocumentDrawModelAccess.hxx> -#include <IDocumentFieldsAccess.hxx> #include <IDocumentRedlineAccess.hxx> -#include <IDocumentState.hxx> -#include <unofldmid.h> #include <UndoManager.hxx> -#include <textsh.hxx> #include <frmatr.hxx> -#include <frmmgr.hxx> #include <tblafmt.hxx> -#include <com/sun/star/lang/Locale.hpp> -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/util/XNumberFormatTypes.hpp> -#include <com/sun/star/util/NumberFormat.hpp> -#include <com/sun/star/util/XNumberFormatsSupplier.hpp> -#include <com/sun/star/util/SearchAlgorithms2.hpp> -#include <com/sun/star/util/SearchFlags.hpp> -#include <com/sun/star/util/SearchAlgorithms.hpp> -#include <com/sun/star/sdb/DatabaseContext.hpp> -#include <com/sun/star/sdbcx/XTablesSupplier.hpp> -#include <com/sun/star/sdbc/XDataSource.hpp> -#include <com/sun/star/text/XParagraphCursor.hpp> -#include <com/sun/star/util/XPropertyReplace.hpp> -#include <com/sun/star/beans/PropertyAttribute.hpp> #include <com/sun/star/text/XTextField.hpp> -#include <com/sun/star/text/TextMarkupType.hpp> -#include <com/sun/star/chart2/data/XDataSource.hpp> -#include <com/sun/star/document/XEmbeddedObjectSupplier2.hpp> -#include <com/sun/star/drawing/XShape.hpp> #include <com/sun/star/linguistic2/XLinguProperties.hpp> #include <com/sun/star/text/XTextViewCursorSupplier.hpp> #include <com/sun/star/text/XPageCursor.hpp> -#include <o3tl/cppunittraitshelper.hxx> -#include <o3tl/unit_conversion.hxx> -#include <osl/file.hxx> #include <osl/thread.hxx> -#include <paratr.hxx> -#include <drawfont.hxx> #include <txtfrm.hxx> -#include <txttypes.hxx> -#include <SwPortionHandler.hxx> #include <hyp.hxx> #include <swdtflvr.hxx> -#include <editeng/svxenum.hxx> #include <comphelper/propertysequence.hxx> #include <sfx2/classificationhelper.hxx> #include <LibreOfficeKit/LibreOfficeKitEnums.h> -#include <sfx2/docfilt.hxx> #include <sfx2/viewfrm.hxx> #include <sfx2/dispatch.hxx> #include <comphelper/configurationhelper.hxx> #include <editeng/unolingu.hxx> #include <vcl/scheduler.hxx> -#include <config_features.h> #include <config_fonts.h> -#include <sfx2/watermarkitem.hxx> -#include <sfx2/fcontnr.hxx> -#include <sfx2/docfile.hxx> #include <test/htmltesttools.hxx> -#include <fmthdft.hxx> -#include <iodetect.hxx> #include <wrthtml.hxx> #include <dbmgr.hxx> -#include <frameformats.hxx> -#include <docsh.hxx> #include <unotxdoc.hxx> #include <comphelper/processfactory.hxx> -#include <rootfrm.hxx> #include <unotools/transliterationwrapper.hxx> namespace |