office-gobmx/xmloff/Library_xo.mk
Stephan Bergmann 19691c3b68 Revert all the recent loplugin:unocast changes
...as obsoleted by ef53355355 "Rudimentary support
for dynamic_cast on UNO proxy objects".

This reverts all of:
4cfcc9ac37 "loplugin:unocast (framework::Desktop)"
03efbf72f4 "loplugin:unocast
 (vclcanvas::TextLayout)"
80099fdd51 "loplugin:unocast (SalGtkXWindow)"
cc147f576d "loplugin:unocast
 (sdext::presenter::CachablePresenterView)"
40db42be1d "loplugin:unocast
 (vclcanvas::CanvasFont)"
2d1e7995ea "loplugin:unocast (CairoColorSpace)"
4c0bbe4bd9 "loplugin:unocast
 (canvas::ParametricPolyPolygon)"
8980366662 "loplugin:unocast
 (vclcanas::CanvasBitmap)"
d5e0c2c8db "loplugin:unocast
 (sfx2::DigitalSignatures)"
c0c4519e0d "loplugin:unocast
 (VCLXAccessibleComponent)"
feb8b833a6 "loplugin:unocast (VCLXDialog)"
1fa58cc6cc "loplugin:unocast (VCLXMultiPage)"
f481f036de "loplugin:unocast
 (DocumentSettingsSerializer)"
73df933f5f "loplugin:unocast
 (css::embed::EmbeddedUpdate)"
420165ab0e "loplugin:unocast
 (canvas::tools' StandardColorSpace, StandardNoAlphaColorSpace)"
9abe8ee067 "loplugin:unocast (MutableTreeNode)"
9f3022ceb0 "loplugin:unocast (VCLXTabPage)"
1be70dda02 "loplugin:unocast
 (vcl::unotools::VclCanvasBitmap)"
d6a70bb641 "loplugin:unocast
 (basegfx::unotools::UnoPolyPolygon)"
5a14f009e6 "loplugin:unocast
 (xmlsecurity::Certificate)"
99009c9535 "loplugin:unocast (sd::Annotation)"
0c7585c5fa "loplugin:unocast (sd::TextApiObject)"
24e14afd1b "loplugin:unocast
 (SignatureVerifierImpl)"
1a7ad0c10d "loplugin:unocast
 (pcr::PropertyEventTranslation)"
a97e2d2702 "loplugin:unocast (RangePageBreaks)"
19dfdf86ad "iloplugin:unocast
 (pcr::OFormattedNumericControl)"
f9785ea595 "loplugin:unocast
 (frm::OInterfaceContainer)"
5e5f40a4a9 "loplugin:unocast (ScVbaShapes)"
27b35b2c21 "loplugin:unocast (ScVbaShapeRange)"
cb3108f860 "cid#1517812 Dereference null return
 value"
feba0ddb15 "loplugin:unocast
 (weld::TransportAsXWindow)"
4d6c232165 "loplugin:unocast
 (oox::ForumlaImExportBase)"
4844c096a8 "loplugin:unocast
 (cairocanvas::SurfaceProvider)"
9a0b523e0a "loplugin:unocast
 (cairocanvas::CanvasBitmap)"
8a5648d8e5 "loplugin:unocast
 (cairocanvas::TextLayout)"
28c27a0623 "loplugin:unocast
 (cairocanvas::CanvasFont)"
53bc223cb3 "loplugin:unocast
 (cairocanvas::RepaintTarget)"
5f70b0b9f6 "loplugin:unocast (SvXMLImport)"
068187a898 "loplugin:unocast (VCLXWindow)"
88b4f96620 "loplugin:unocast
 (sfx2::sidebar::SidebarController)"
f1b7a69b28 "loplugin:unocast
 (SvxLineStyleToolBoxControl)"
ba76f0ba7e "loplugin:unocast
 (i18npool::Calendar_gregorian)"
840154daf9 "loplugin:unocast
 (framework::AddonsToolBarWrapper)"
b0e9c4c5f0 "loplugin:unocast
 (GrammarCheckingIterator)"
8ee6cfc965 "loplugin:unocast
 (ucb::ucp::ext::Content)"
5b8cd77c11 "loplugin:unocast
 (basic::SfxScriptLibraryContainer)"
9e73ff9fce "loplugin:unocast
 (sdext::presenter::PresenterNotesView)"
a98acca8fb "loplugin:unocast
 (SelectionChangeHandler)"
c0b59ad6e3 "Consistently use
 comphelper::getSomethingImpl<I>(aIdentifier, this)"
276e3ccbdd "loplugin:unocast
 (vclcanvas::RepaintTarget)"

Change-Id: I37c73e3422a5154bf6cb647640d2d3f23db8bc34
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145063
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-05 11:45:51 +00:00

396 lines
15 KiB
Makefile

# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# This file incorporates work covered by the following license notice:
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed
# with this work for additional information regarding copyright
# ownership. The ASF licenses this file to you under the Apache
# License, Version 2.0 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
$(eval $(call gb_Library_Library,xo))
$(eval $(call gb_Library_set_componentfile,xo,xmloff/util/xo,services))
$(eval $(call gb_Library_add_componentimpls,xo, \
$(if $(ENABLE_WASM_STRIP_CHART),,chart) \
draw \
$(if $(ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS),, \
impress \
writer \
) \
))
$(eval $(call gb_Library_set_precompiled_header,xo,xmloff/inc/pch/precompiled_xo))
$(eval $(call gb_Library_set_include,xo,\
-I$(SRCDIR)/xmloff/inc \
$$(INCLUDE) \
))
$(eval $(call gb_Library_add_defs,xo,\
-DXMLOFF_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_use_external,xo,boost_headers))
$(eval $(call gb_Library_use_custom_headers,xo,\
officecfg/registry \
xmloff/generated \
))
$(eval $(call gb_Library_use_sdk_api,xo))
$(eval $(call gb_Library_use_libraries,xo,\
basegfx \
comphelper \
cppu \
cppuhelper \
i18nlangtag \
sal \
salhelper \
sax \
svl \
tl \
utl \
vcl \
))
# WASM_CHART change
ifneq ($(ENABLE_WASM_STRIP_CHART),TRUE)
$(eval $(call gb_Library_add_exception_objects,xo,\
xmloff/source/chart/ColorPropertySet \
xmloff/source/chart/PropertyMaps \
xmloff/source/chart/SchXMLAutoStylePoolP \
xmloff/source/chart/SchXMLAxisContext \
xmloff/source/chart/SchXMLCalculationSettingsContext \
xmloff/source/chart/SchXMLChartContext \
xmloff/source/chart/SchXMLDataTableContext \
xmloff/source/chart/SchXMLEnumConverter \
xmloff/source/chart/SchXMLExport \
xmloff/source/chart/SchXMLImport \
xmloff/source/chart/SchXMLLegendContext \
xmloff/source/chart/SchXMLParagraphContext \
xmloff/source/chart/SchXMLPlotAreaContext \
xmloff/source/chart/SchXMLPropertyMappingContext \
xmloff/source/chart/SchXMLRegressionCurveObjectContext \
xmloff/source/chart/SchXMLSeries2Context \
xmloff/source/chart/SchXMLSeriesHelper \
xmloff/source/chart/SchXMLTableContext \
xmloff/source/chart/SchXMLTextListContext \
xmloff/source/chart/SchXMLTools \
xmloff/source/chart/XMLAxisPositionPropertyHdl \
xmloff/source/chart/XMLChartPropertyContext \
xmloff/source/chart/XMLChartStyleContext \
xmloff/source/chart/XMLErrorBarStylePropertyHdl \
xmloff/source/chart/XMLErrorIndicatorPropertyHdl \
xmloff/source/chart/XMLLabelSeparatorContext \
xmloff/source/chart/XMLSymbolImageContext \
xmloff/source/chart/XMLSymbolTypePropertyHdl \
xmloff/source/chart/XMLTextOrientationHdl \
xmloff/source/chart/contexts \
xmloff/source/chart/transporttypes \
))
endif
$(eval $(call gb_Library_add_exception_objects,xo,\
xmloff/source/core/DocumentSettingsContext \
xmloff/source/core/DomBuilderContext \
xmloff/source/core/DomExport \
xmloff/source/core/fasttokenhandler \
xmloff/source/core/ProgressBarHelper \
xmloff/source/core/PropertySetMerger \
xmloff/source/core/RDFaExportHelper \
xmloff/source/core/RDFaImportHelper \
xmloff/source/core/SettingsExportHelper \
xmloff/source/core/SvXMLAttr \
xmloff/source/core/SvXMLAttrCollection \
xmloff/source/core/XMLBase64Export \
xmloff/source/core/XMLBase64ImportContext \
xmloff/source/core/XMLBasicExportFilter \
xmloff/source/core/XMLEmbeddedObjectExportFilter \
xmloff/source/core/XMLEmbeddedObjectImportContext \
xmloff/source/core/attrlist \
xmloff/source/core/i18nmap \
xmloff/source/core/namespacemap \
xmloff/source/core/unoatrcn \
xmloff/source/core/unointerfacetouniqueidentifiermapper \
xmloff/source/core/xmlcnimp \
xmloff/source/core/xmlerror \
xmloff/source/core/xmlexp \
xmloff/source/core/xmlictxt \
xmloff/source/core/xmlimp \
xmloff/source/core/xmltkmap \
xmloff/source/core/xmltoken \
xmloff/source/core/xmluconv \
xmloff/source/core/xmlmultiimagehelper \
xmloff/source/draw/EnhancedCustomShapeToken \
xmloff/source/draw/XMLGraphicsDefaultStyle \
xmloff/source/draw/XMLImageMapContext \
xmloff/source/draw/XMLImageMapExport \
xmloff/source/draw/XMLNumberStyles \
xmloff/source/draw/XMLReplacementImageContext \
xmloff/source/draw/XMLShapePropertySetContext \
xmloff/source/draw/XMLShapeStyleContext \
xmloff/source/draw/animationexport \
xmloff/source/draw/animationimport \
xmloff/source/draw/animexp \
xmloff/source/draw/animimp \
xmloff/source/draw/descriptionimp \
xmloff/source/draw/eventimp \
xmloff/source/draw/layerexp \
xmloff/source/draw/layerimp \
xmloff/source/draw/numithdl \
xmloff/source/draw/propimp0 \
xmloff/source/draw/sdpropls \
xmloff/source/draw/sdxmlexp \
xmloff/source/draw/sdxmlimp \
xmloff/source/draw/shapeexport \
xmloff/source/draw/shapeimport \
xmloff/source/draw/SignatureLineContext \
xmloff/source/draw/QRCodeContext \
xmloff/source/draw/xexptran \
xmloff/source/draw/ximp3dobject \
xmloff/source/draw/ximp3dscene \
xmloff/source/draw/ximpbody \
xmloff/source/draw/ximpcustomshape \
xmloff/source/draw/ximpgrp \
xmloff/source/draw/ximplink \
xmloff/source/draw/ximpnote \
xmloff/source/draw/ximppage \
xmloff/source/draw/ximpshap \
xmloff/source/draw/ximpshow \
xmloff/source/draw/ximpstyl \
xmloff/source/forms/controlelement \
xmloff/source/forms/controlpropertyhdl \
xmloff/source/forms/controlpropertymap \
xmloff/source/forms/elementexport \
xmloff/source/forms/elementimport \
xmloff/source/forms/eventexport \
xmloff/source/forms/eventimport \
xmloff/source/forms/formattributes \
xmloff/source/forms/formcellbinding \
xmloff/source/forms/formenums \
xmloff/source/forms/formevents \
xmloff/source/forms/formlayerexport \
xmloff/source/forms/formlayerimport \
xmloff/source/forms/gridcolumnproptranslator \
xmloff/source/forms/layerexport \
xmloff/source/forms/layerimport \
xmloff/source/forms/logging \
xmloff/source/forms/officeforms \
xmloff/source/forms/propertyexport \
xmloff/source/forms/propertyimport \
xmloff/source/forms/property_meta_data \
xmloff/source/forms/valueproperties \
xmloff/source/forms/handler/form_handler_factory \
xmloff/source/forms/handler/vcl_date_handler \
xmloff/source/forms/handler/vcl_time_handler \
xmloff/source/meta/MetaExportComponent \
xmloff/source/meta/MetaImportComponent \
xmloff/source/meta/xmlmetae \
xmloff/source/meta/xmlmetai \
xmloff/source/meta/xmlversion \
xmloff/source/script/XMLEventExport \
xmloff/source/script/XMLEventImportHelper \
xmloff/source/script/XMLEventsImportContext \
xmloff/source/script/XMLScriptContextFactory \
xmloff/source/script/XMLScriptExportHandler \
xmloff/source/script/XMLStarBasicContextFactory \
xmloff/source/script/XMLStarBasicExportHandler \
xmloff/source/script/xmlbasicscript \
xmloff/source/script/xmlscripti \
xmloff/source/style/AttributeContainerHandler \
xmloff/source/style/DashStyle \
xmloff/source/style/DrawAspectHdl \
xmloff/source/style/EnumPropertyHdl \
xmloff/source/style/FillStyleContext \
xmloff/source/style/GradientStyle \
xmloff/source/style/HatchStyle \
xmloff/source/style/ImageStyle \
xmloff/source/style/MarkerStyle \
xmloff/source/style/MultiPropertySetHelper \
xmloff/source/style/NamedBoolPropertyHdl \
xmloff/source/style/PageHeaderFooterContext \
xmloff/source/style/PageMasterExportPropMapper \
xmloff/source/style/PageMasterImportContext \
xmloff/source/style/PageMasterImportPropMapper \
xmloff/source/style/PageMasterPropHdl \
xmloff/source/style/PageMasterPropHdlFactory \
xmloff/source/style/PageMasterPropMapper \
xmloff/source/style/PageMasterStyleMap \
xmloff/source/style/PagePropertySetContext \
xmloff/source/style/SinglePropertySetInfoCache \
xmloff/source/style/StyleMap \
xmloff/source/style/TransGradientStyle \
xmloff/source/style/WordWrapPropertyHdl \
xmloff/source/style/XMLBackgroundImageContext \
xmloff/source/style/XMLBackgroundImageExport \
xmloff/source/style/XMLBitmapLogicalSizePropertyHandler \
xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler \
xmloff/source/style/XMLRtlGutterPropertyHandler \
xmloff/source/style/XMLClipPropertyHandler \
xmloff/source/style/XMLConstantsPropertyHandler \
xmloff/source/style/XMLElementPropertyContext \
xmloff/source/style/XMLFillBitmapSizePropertyHandler \
xmloff/source/style/XMLFontAutoStylePool \
xmloff/source/style/XMLFontStylesContext \
xmloff/source/style/XMLFootnoteSeparatorExport \
xmloff/source/style/XMLFootnoteSeparatorImport \
xmloff/source/style/XMLIsPercentagePropertyHandler \
xmloff/source/style/XMLPageExport \
xmloff/source/style/XMLPercentOrMeasurePropertyHandler \
xmloff/source/style/XMLRectangleMembersHandler \
xmloff/source/style/adjushdl \
xmloff/source/style/backhdl \
xmloff/source/style/bordrhdl \
xmloff/source/style/breakhdl \
xmloff/source/style/cdouthdl \
xmloff/source/style/chrhghdl \
xmloff/source/style/chrlohdl \
xmloff/source/style/csmaphdl \
xmloff/source/style/durationhdl \
xmloff/source/style/escphdl \
xmloff/source/style/fonthdl \
xmloff/source/style/impastpl \
xmloff/source/style/kernihdl \
xmloff/source/style/lspachdl \
xmloff/source/style/numehelp \
xmloff/source/style/opaquhdl \
xmloff/source/style/postuhdl \
xmloff/source/style/prhdlfac \
xmloff/source/style/prstylei \
xmloff/source/style/prstylecond \
xmloff/source/style/shadwhdl \
xmloff/source/style/shdwdhdl \
xmloff/source/style/styleexp \
xmloff/source/style/tabsthdl \
xmloff/source/style/undlihdl \
xmloff/source/style/weighhdl \
xmloff/source/style/xmlaustp \
xmloff/source/style/xmlbahdl \
xmloff/source/style/xmlexppr \
xmloff/source/style/xmlimppr \
xmloff/source/style/xmlnume \
xmloff/source/style/xmlnumfe \
xmloff/source/style/xmlnumfi \
xmloff/source/style/xmlnumi \
xmloff/source/style/xmlprcon \
xmloff/source/style/xmlprhdl \
xmloff/source/style/xmlprmap \
xmloff/source/style/xmlstyle \
xmloff/source/style/xmltabe \
xmloff/source/style/xmltabi \
xmloff/source/table/XMLTableExport \
xmloff/source/table/XMLTableImport \
xmloff/source/text/XMLAutoMarkFileContext \
xmloff/source/text/XMLAutoTextContainerEventImport \
xmloff/source/text/XMLAutoTextEventExport \
xmloff/source/text/XMLAutoTextEventImport \
xmloff/source/text/XMLCalculationSettingsContext \
xmloff/source/text/XMLChangeElementImportContext \
xmloff/source/text/XMLChangeImportContext \
xmloff/source/text/XMLChangeInfoContext \
xmloff/source/text/XMLChangedRegionImportContext \
xmloff/source/text/XMLFootnoteBodyImportContext \
xmloff/source/text/XMLFootnoteConfigurationImportContext \
xmloff/source/text/XMLFootnoteImportContext \
xmloff/source/text/XMLIndexAlphabeticalSourceContext \
xmloff/source/text/XMLIndexBibliographyConfigurationContext \
xmloff/source/text/XMLIndexBibliographyEntryContext \
xmloff/source/text/XMLIndexBibliographySourceContext \
xmloff/source/text/XMLIndexBodyContext \
xmloff/source/text/XMLIndexChapterInfoEntryContext \
xmloff/source/text/XMLIndexIllustrationSourceContext \
xmloff/source/text/XMLIndexMarkExport \
xmloff/source/text/XMLIndexObjectSourceContext \
xmloff/source/text/XMLIndexSimpleEntryContext \
xmloff/source/text/XMLIndexSourceBaseContext \
xmloff/source/text/XMLIndexSpanEntryContext \
xmloff/source/text/XMLIndexTOCContext \
xmloff/source/text/XMLIndexTOCSourceContext \
xmloff/source/text/XMLIndexTOCStylesContext \
xmloff/source/text/XMLIndexTabStopEntryContext \
xmloff/source/text/XMLIndexTableSourceContext \
xmloff/source/text/XMLIndexTemplateContext \
xmloff/source/text/XMLIndexTitleTemplateContext \
xmloff/source/text/XMLIndexUserSourceContext \
xmloff/source/text/XMLLineNumberingExport \
xmloff/source/text/XMLLineNumberingImportContext \
xmloff/source/text/XMLLineNumberingSeparatorImportContext \
xmloff/source/text/XMLPropertyBackpatcher \
xmloff/source/text/XMLRedlineExport \
xmloff/source/text/XMLSectionExport \
xmloff/source/text/XMLSectionFootnoteConfigExport \
xmloff/source/text/XMLSectionFootnoteConfigImport \
xmloff/source/text/XMLSectionImportContext \
xmloff/source/text/XMLSectionSourceDDEImportContext \
xmloff/source/text/XMLSectionSourceImportContext \
xmloff/source/text/XMLStringBufferImportContext \
xmloff/source/text/XMLTextCharStyleNamesElementExport \
xmloff/source/text/XMLTextColumnsContext \
xmloff/source/text/XMLTextColumnsExport \
xmloff/source/text/XMLTextFrameContext \
xmloff/source/text/XMLTextFrameHyperlinkContext \
xmloff/source/text/XMLTextHeaderFooterContext \
xmloff/source/text/XMLTextListAutoStylePool \
xmloff/source/text/XMLTextListBlockContext \
xmloff/source/text/XMLTextListItemContext \
xmloff/source/text/XMLTextMarkImportContext \
xmloff/source/text/XMLTextMasterPageContext \
xmloff/source/text/XMLTextMasterPageExport \
xmloff/source/text/XMLTextMasterStylesContext \
xmloff/source/text/XMLTextNumRuleInfo \
xmloff/source/text/XMLTextPropertySetContext \
xmloff/source/text/XMLTextShapeImportHelper \
xmloff/source/text/XMLTextShapeStyleContext \
xmloff/source/text/XMLTextTableContext \
xmloff/source/text/XMLTrackedChangesImportContext \
xmloff/source/text/xmllinebreakcontext \
xmloff/source/text/txtdrope \
xmloff/source/text/txtdropi \
xmloff/source/text/txtexppr \
xmloff/source/text/txtflde \
xmloff/source/text/txtfldi \
xmloff/source/text/txtftne \
xmloff/source/text/txtimp \
xmloff/source/text/txtimppr \
xmloff/source/text/txtlists \
xmloff/source/text/txtparae \
xmloff/source/text/txtparai \
xmloff/source/text/txtprhdl \
xmloff/source/text/txtprmap \
xmloff/source/text/txtsecte \
xmloff/source/text/txtstyle \
xmloff/source/text/txtstyli \
xmloff/source/text/txtvfldi \
xmloff/source/text/xmlcontentcontrolcontext \
xmloff/source/xforms/SchemaContext \
xmloff/source/xforms/SchemaRestrictionContext \
xmloff/source/xforms/SchemaSimpleTypeContext \
xmloff/source/xforms/TokenContext \
xmloff/source/xforms/XFormsBindContext \
xmloff/source/xforms/XFormsInstanceContext \
xmloff/source/xforms/XFormsModelContext \
xmloff/source/xforms/XFormsSubmissionContext \
xmloff/source/xforms/xformsapi \
xmloff/source/xforms/xformsexport \
xmloff/source/xforms/xformsimport \
))
ifeq ($(CPUNAME),M68K)
$(eval $(call gb_Library_add_cxxflags,xo,\
-mlong-jump-table-offsets \
))
endif
# vim: set noet sw=4 ts=4: