summaryrefslogtreecommitdiff
path: root/chart2/source/inc
AgeCommit message (Collapse)Author
2022-05-10chart2: add func. to convert from css::awt and B2IRectangleTomaž Vajngerl
Change-Id: I6da70d4559d1536b788228bcae64f5e43462d8e3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133922 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-05-05Just use Any ctor instead of makeAny in chart2Stephan Bergmann
Change-Id: I156cd5597a4b9e683913d9730b8d8bb22e8064f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133845 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-04-27add string_view wrappers for rtl::math::stringToDoubleNoel Grandin
Change-Id: I114bec72cb933238675e539a8388a607226827cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133455 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-04-25Recheck module chart2 with IWYUGabor Kelemen
See tdf#42949 for motivation This time using the new --noexclude switch to recheck validity of the excludelist; these were the obsolete exclusions Change-Id: Ifdf79b30ebaf198082c2194611a2ed2b664e6f1f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133309 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2022-04-23Recheck module chart2 with IWYUGabor Kelemen
See tdf#42949 for motivation Change-Id: Id4cdca3eed8618c289f30913d506f8f2bd46f0bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133112 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
2022-04-20loplugin:passstuffbyrefNoel Grandin
Change-Id: I336fd329b577b6fa141265d8bc7ce67784bd7306 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133210 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-04-19chart2: change define to constantTomaž Vajngerl
Change-Id: Id545105cb48fdd0c28a67e6017570658915f93b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133163 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-04-19chart2: not really worth having a TrueGuard - just use ScopeGuardTomaž Vajngerl
Change-Id: Ia2436d4cc843540a51e00ee937b80303cb600851 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133162 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-04-19chart2: ExplicitValueProvider - make forward declrs. consistentTomaž Vajngerl
Change-Id: I90e8b2d163f700c7b1e251064af8655529f76906 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133126 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-04-18chart: cleanup member vars in Diagram.hxxTomaž Vajngerl
Change-Id: I756d570ba932e116bb346f21b5272807e8434939 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133118 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2022-04-14use more string_view in chart2Noel Grandin
Change-Id: I9ab6cd3905bfb7c811e7ad14b54ced6c42d2e077 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133003 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-04-13loplugin:stringviewparam whitelist some more functionsNoel Grandin
for which we have o3tl:: equivalents Change-Id: I4670fd8b703ac47214be213f41e88d1c6ede7032 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132913 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-04-03loplugin:stringviewparam convert methods using matchNoel Grandin
which converts to a combination of substr and o3tl::starts_with Change-Id: I5b01a181b9e6bee3483e4f49f1a9426abcc682d0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132458 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-23loplugin:unusedmethodsNoel Grandin
Change-Id: I59c9e52997e80174a3aa7f81bacdfb29e47be0a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131952 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-03-11loplugin:constparamsNoel Grandin
Change-Id: I5f184f93dbdb414514855c85c9dc1624e7ec8636 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131337 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-17loplugin:unusedmethodsNoel Grandin
Change-Id: I58c60262ca543bafb4db4433dbb98b195f7571ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130063 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-17loplugin:unnecessaryvirtualNoel Grandin
Change-Id: I44c70bd930380d0e3f76524f37e6276cf4faeccc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130061 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-10crashtesting ooo#ooo83229-2Noel Grandin
this reverts part of commit b314b5a0612c9dc7279039dae44a250d4d3ec6b1 use more concrete types in chart2, DataSeries since writer uses it's own implementation of the XLabeledDataSequence UNO interface Change-Id: I52154dcee104ca17bfa63a3a8b11ef739cef147f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129772 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-10use more concrete types in chart2, SvxShapeNoel Grandin
Change-Id: I9ae954f8efaec31d5b848c633e66adb62a13f3f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129737 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-09use more concrete types in chart2, DataSourceNoel Grandin
Change-Id: I513491e8d39ee79edf8521d279bd32031cf22a93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129687 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-08use more concrete types in chart2, DataSeriesNoel Grandin
Change-Id: I80bc8961832a20c29b31f7618b9d2609f15ab3c2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129642 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-07use more concrete types in chart2, DataSeriesNoel Grandin
Change-Id: If92f6ff6f90d53a9dc6211fd9f071d4d3fce2997 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129535 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-07crashtesting ooo#20372Noel Grandin
this reverts parts of the "use more concrete types in chart2, LabeledDataSequence" commits, since writer uses it's own implementation of the XLabeledDataSequence UNO interface Change-Id: Icc2c5e9a38f789cddd9fbca63301397ce759fbff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129587 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-05use more concrete types in chart2, AxisNoel Grandin
Change-Id: If80b6487ad2b8ac75f98f798b839aff2b8a5c23e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129522 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-05use more concrete types in chart2, LabeledDataSequenceNoel Grandin
Change-Id: I50b23923c1aa946f2c448534719a6c18003592a1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129521 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-04use more concrete types in chart2, LabeledDataSequenceNoel Grandin
Change-Id: Iecc22ad488fff7d0536ffa37f4cde7da460c2c7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129458 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-04use more concrete types in chart2, DataSourceNoel Grandin
Change-Id: If5001a8a8fc1103a8d662429d3077c7ce81cc2b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129457 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-04use more concrete types in chart2, LabeledDataSequenceNoel Grandin
Change-Id: I88d5b7e045814cbd40750ebe927e6a76d5a463d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129456 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-04use more concrete types in chart2, DataSeriesNoel Grandin
Change-Id: I51a30d2a6a3c424dcdc29b6647aa2b67fa35884a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129455 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-03make css::chart2::InterpretedData a normal structNoel Grandin
this is internal-only, no need for it to use UNO IDL Change-Id: I5f9844f48640618ac5bd348721bdee43e5f0a57f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129303 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-02-02UBSan build missing RTTI nowStephan Bergmann
...e.g. during CppunitTest_chart2_import2 > [_RUN_____] Chart2ImportTest2::testTdf114179 [...] > warn:sal.osl:1990837:1990837:sal/osl/unx/module.cxx:152: dlopen(instdir/program/libchartcontrollerlo.so, 257): instdir/program/libchartcontrollerlo.so: undefined symbol: _ZTIN5chart20RegressionCurveModelE [...] Change-Id: I2c89fef471139f7b5417aadf1321d2da4f4ffec3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129367 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-02-01use more concrete types in chart2, RegressionCurveModelNoel Grandin
Change-Id: I844238da0ce0ce4aea308c652c341efa540149a2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129234 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-31use more concrete types in chart2, DataSeriesNoel Grandin
Change-Id: Ib07ed6ec3321dc617cfec872d16683cf5de60907 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129181 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-30use more concrete types in chart2, DataSeriesNoel Grandin
Change-Id: Ida984d1701e2426958127845418365f6645a9043 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129161 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-30use more concrete types in chart2, RegressionCurveModelNoel Grandin
Change-Id: Ib4a5198f425577307ba437c73c61408b88d83dc1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129160 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-29use more concrete types in chart2, LegendNoel Grandin
Change-Id: Ifbf8ddd92eacd4caaf6fdaa061821222e543a1a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129133 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-28use more concrete types in chart2, ChartModelNoel Grandin
Change-Id: Idd686acd0e8acaafcbbd18a4d6b0f298cc577784 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129111 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-28use more concrete types in chart2, ModifyEventForwarderNoel Grandin
Change-Id: Ibd1102dbc269bb2e9a2afd67fae1e4ec7d51b1ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129110 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-28use more concrete types in chart2, ChartModelNoel Grandin
Change-Id: I0f1c50448f6ab744e40d8744340685f59f139261 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129109 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-28use more concrete types in chart2, BaseCoordinateSystemNoel Grandin
Change-Id: Ieb815775e069dd0d2cc36a2ab97b318e3b9f7a1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129056 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-28use more concrete types in chart2, BaseCoordinateSystemNoel Grandin
Change-Id: I28b2af18ebd073701b4f8d3e9161d242396ce44a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129055 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-27use more concrete types in chart2, BaseCoordinateSystemNoel Grandin
Change-Id: I76c3c094e94a21b65034dbc80bf98e4b4e3f57af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129054 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-27use more concrete types in chart2, BaseCoordinateSystemNoel Grandin
Change-Id: Iacbca66dbb5cfe617c5e8ca25796a7261f1ce10d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129053 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-27add some more TypeWhichId annotationsNoel Grandin
and update the idl compiler to cope with namespaced class names Change-Id: I7b5242f872e358bc3c5584f543767719172aac83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129026 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-27use more concrete types in chart2, BaseCoordinateSystemNoel Grandin
Change-Id: Icc1579520ae98efdd4191530e5f046555baad99e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129001 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-27use more concrete types in chart2, BaseCoordinateSystemNoel Grandin
Change-Id: I98890707708f2b6161e52ef5c1563cceb6e3e56a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129000 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-26whack ubsan with a bigger hammerNoel Grandin
it seems to have trouble compiling code when it can't see chart::ChartModel, so just include it from one of the central headers. Change-Id: I1c96e40b5b8e35b74dd80f44d8c3243af5ba2626 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128973 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-26use more concrete types in chart2, DiagramNoel Grandin
Change-Id: I5a836ccfe3c3c071b42664ba340ef18ff0e4ba91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128946 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-26use more concrete types in chart2, DiagramNoel Grandin
Change-Id: I8640175f493d89bea7eb4780b4cbebf7d0b74a94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128945 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-01-26remove now unused functionNoel Grandin
Change-Id: Ic59756b8cecef026e8583bc378cedcc1b6e3e88a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128944 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>