summaryrefslogtreecommitdiffstats
path: root/chart2/source/model/template/StockDataInterpreter.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for removal of non-const operator[] from Sequence in chart2Mike Kaganski2021-10-291-20/+27
| | | | | | | Change-Id: I71e0b458c4dd2a85e36a485e3efa72b1077b0e54 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124346 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* clang-tidy:readability-redundant-member-initNoel Grandin2021-08-311-1/+0
| | | | | | | Change-Id: I5e8baec88d5f17ddda452bd945c87769623cb4e1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121357 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#138556 Don’t add Open Values to stock chart types 1 and 3Aritz Erkiaga2021-05-211-0/+18
| | | | | | | | | | | | A new function was defined, XdataInterpreter::getChartTypeSpecificData. Being 100% chart-type-agnostic when retrieving chart data is impossible; candlestick charts can have different numbers of sequences per series, and this information is not present in any other chart type. Change-Id: I0f54b09202c42667331b083d54d90e4ceee81083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113075 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* use for-range on Sequence in chart2Noel Grandin2020-05-181-3/+3
| | | | | | | Change-Id: Ief02e5d5284b0cbad26b04c0a282dccfee577b90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94398 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Use hasElements to check Sequence emptiness in chart2..connectivityArkadiy Illarionov2019-06-101-1/+1
| | | | | | | | | Similar to clang-tidy readability-container-size-empty Change-Id: I41824e8a4ef38d6a35a0ac4421cffcbcd17308e1 Reviewed-on: https://gerrit.libreoffice.org/71802 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* convert StockVariant to scoped enumNoel Grandin2019-01-181-8/+8
| | | | | | | | | and simplify naming Change-Id: Ieada4e83fcc2eafd03f65b1216bf5ad026ced4c7 Reviewed-on: https://gerrit.libreoffice.org/66567 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* tdf#42949 Fix IWYU warnings in chart2/source/model/*cxxGabor Kelemen2018-10-081-7/+0
| | | | | | | | | | Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ic4fdbad7469d506d7cf308cb96f069b781dd1f58 Reviewed-on: https://gerrit.libreoffice.org/61488 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* look for unnecessary calls to Reference::is() after an UNO_QUERY_THROWNoel Grandin2018-06-081-1/+0
| | | | | | | | | | | | | | | | | Since the previous call would throw if there was nothing to be assigned to the value. Idea from tml. Used the following script to find places: git grep -A3 -n UNO_QUERY_THROW | grep -B3 -F 'is()' Change-Id: I36ba7b00bcd014bdf16c0455ab91056f82194969 Reviewed-on: https://gerrit.libreoffice.org/55417 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* use more DBG_UNHANDLED_EXCEPTIONNoel Grandin2018-04-091-4/+5
| | | | | | | | | so we get nice logs of the exception dynamic type for UNO exceptions. Change-Id: Ic0b10dc14d354a2c9a0591b3a51d2f1640d54bdb Reviewed-on: https://gerrit.libreoffice.org/52465 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* inline ASSERT_EXCEPTION macro in chart2Noel Grandin2017-11-031-3/+2
| | | | | | | Change-Id: I6bdcde5fd416531e2cdd3c9ec160833f1022247c Reviewed-on: https://gerrit.libreoffice.org/44246 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:includeform: chart2Stephan Bergmann2017-10-231-4/+4
| | | | Change-Id: I5b455c684e7cd689d5160135246f3400363c7d40
* revert OSL_ASSERT changesChris Sherlock2017-05-071-7/+7
| | | | Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
* tdf#43157: convert chart2 model source from OSL_ASSERT to assertChris Sherlock2017-05-071-7/+7
| | | | Change-Id: Id426cf71bfa63a202979e6bd3fa230cabeeb4dcc
* Remove dynamic exception specificationsStephan Bergmann2017-01-261-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | ...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* loplugin:unusedfieldsNoel Grandin2017-01-101-3/+2
| | | | | | | Change-Id: I9611511cb3480734dea3c3cbaf0d659071366ad1 Reviewed-on: https://gerrit.libreoffice.org/32873 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:unusedfieldsNoel Grandin2016-11-171-1/+1
| | | | | | | Change-Id: Id2dbbf384637223db3d334d95332251832918003 Reviewed-on: https://gerrit.libreoffice.org/30927 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* chart2: remove unused ContainerHelper.hxx includesJochen Nitschke2016-07-131-2/+0
| | | | | | | | | | remove using namespace ::chart::ContainerHelper; to match other uses Change-Id: I343086a6b7d70c84499b209680973431c7317219 Reviewed-on: https://gerrit.libreoffice.org/27184 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jenkins <ci@libreoffice.org>
* loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann2016-04-201-5/+5
| | | | Change-Id: I1230a1785c61b8ef5dab97176e7c06600ac95a5b
* new loplugin: commaoperatorNoel Grandin2016-02-231-7/+14
| | | | Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
* remove whitespacesMarkus Mohrhard2014-07-021-1/+0
| | | | Change-Id: I05ef3c1ffd4e2179e0142a21abf8a4578718102e
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-091-4/+0
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-261-3/+3
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* fdo#62475 removed pointless commentsJelle van der Waa2013-07-291-2/+0
| | | | | | | Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa Reviewed-on: https://gerrit.libreoffice.org/5148 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-071-1/+0
| | | | | | | | Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-301-9/+9
| | | | | | | Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
* re-base on ALv2 code. Includes:Michael Meeks2012-07-181-23/+14
| | | | | | 118568: switch to using ucpp Patch contributed by Juergen Schmidt http://svn.apache.org/viewvc?view=revision&revision=1209396
* catch by const referenceTakeshi Abe2011-11-291-2/+2
|
* remove include of pch header in chart2Norbert Thiebaud2011-11-271-2/+0
|
* Add vim/emacs modelines to all source filesSebastian Spaeth2010-10-131-0/+3
| | | | | | | | Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
* Remove redundant #include directives & commentsJ. Graeme Lingard2010-10-041-2/+0
|
* chart43: merge with DEV300_m72Ingrid Halama2010-02-261-4/+1
|\
| * changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien2010-02-121-4/+1
| | | | | | | | Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
* | chartmultiline: remove unsued concept 'UnusedData'Ingrid Halama2009-11-241-3/+2
|/
* INTEGRATION: CWS changefileheader (1.2.126); FILE MERGEDRüdiger Timm2008-04-101-29/+18
| | | | | 2008/04/01 10:50:36 thb 1.2.126.2: #i85898# Stripping all external header guards 2008/03/28 16:44:14 rt 1.2.126.1: #i87441# Change license header to LPGL v3.
* INTEGRATION: CWS chart2mst3 (1.1.4); FILE ADDEDVladimir Glazounov2007-05-221-0/+359
2007/03/20 12:19:42 bm 1.1.4.17: creation of stock type 4 with wizard fixed (order of sequences was broken due to reverse iteration) 2007/03/06 16:48:12 bm 1.1.4.16: #i72433# improved handling of stock charts. Still not really good, but better 2007/02/08 21:25:40 iha 1.1.4.15: resync m195 -> m202 2006/11/17 21:49:09 iha 1.1.4.14: don't loose ranges when sequence count is not suiteable for stock charts, show at least close values when having not enough sequences 2006/11/17 21:47:34 iha 1.1.4.13: don't loose ranges when sequence count is not suiteable for stock charts, show at least close values when having not enough sequences 2006/10/20 20:20:46 iha 1.1.4.12: #i68043# load stockchart even if not enough series are provided 2006/08/28 11:49:57 iha 1.1.4.11: corrected order in comment 2005/12/21 21:29:23 iha 1.1.4.10: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 16:52:15 bm 1.1.4.9: overload reinterpretDataSeriesand do nothing to prevent standard reinterpretation 2005/10/11 09:20:46 bm 1.1.4.8: license header change 2005/08/03 16:36:25 bm 1.1.4.7: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/29 13:30:16 bm 1.1.4.6: keep unused data at the diagram, resetStyles, and other small improvements of template handling 2005/07/12 16:38:14 bm 1.1.4.5: interpretDataSource: chicken out when we do not have enough data (instead of crashing) 2005/05/09 09:51:29 bm 1.1.4.4: moved parts of API to data namespace 2004/05/07 13:40:25 bm 1.1.4.3: context added in CTOR 2004/03/19 14:33:00 bm 1.1.4.2: XDataSource now contains XLabeledDataSources 2004/02/13 16:51:45 bm 1.1.4.1: join from changes on branch bm_post_chart01