office-gobmx/chart2
Stephan Bergmann 022085ece4 New loplugin:unoaggregation
"Find classes that derive from css::uno::XAggregation, but which implement
queryInterface in violation of the protocol laid out in the documentation at
udkapi/com/sun/star/uno/XAggregation.idl (which implies that such a class either
doesn't actually make use of the deprecated XAggregation mechanism, which should
thus be removed from that class hierarchy, or that its implementation of
queryInterface needs to be fixed)." (compilerplugins/clang/unoaggregation.cxx)

The basesHaveOnlyPureQueryInterface check in
compilerplugins/clang/unoaggregation.cxx is "a crude approximation (but which
appears to work OK)" to filter out any queryInterface base implementations of
class hierarchies supporting XAggregation (i.e.,
cppu::OWeakAggObject::queryInterface).  It only fails for the odd
ChartDocumentWrapper::queryInterface, which manually implements the XAggregation
functionality rather than (indirectly) deriving from OWeakAggObject.  But
changing that manual implementation looks tricky, so leave that alone for now
and add a loplugin warning suppression there, and leave proper clean up for
later.

Change-Id: Ib16e26237bd703e60b0d9cb7134cb39840842d54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145912
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2023-01-20 20:26:36 +00:00
..
inc XUnoTunnel->dynamic_cast in ExplicitValueProvider 2023-01-18 09:08:49 +00:00
qa tdf#91265 Use same plot area distance as used in MSO 2023-01-17 07:19:32 +00:00
source New loplugin:unoaggregation 2023-01-20 20:26:36 +00:00
uiconfig
workbench/addin
AllLangMoTarget_chart.mk
CppunitTest_chart2_common_functors.mk
CppunitTest_chart2_dialogs_test.mk
CppunitTest_chart2_dump.mk
CppunitTest_chart2_export.mk
CppunitTest_chart2_export2.mk
CppunitTest_chart2_export3.mk
CppunitTest_chart2_geometry.mk
CppunitTest_chart2_import.mk
CppunitTest_chart2_import2.mk
CppunitTest_chart2_pivot_chart_test.mk
CppunitTest_chart2_trendcalculators.mk
CppunitTest_chart2_uichart.mk
CppunitTest_chart2_xshape.mk
export_setup.mk
import_setup.mk
IwyuFilter_chart2.yaml
JunitTest_chart2_unoapi.mk
Library_chartcontroller.mk
Library_chartcore.mk
Makefile
Module_chart2.mk
README.md
UIConfig_chart2.mk

Chart Implementation for LibreOffice Calc

The chart2 denotes a second generation re-write done to rid us of the foul and twisted legacy chart code.

Debugging

Shortcuts

CTRL + F12 creates a layout dump based on the XShapeDumper based on SAL_WARN("chart2", ...