summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/CandleStickChartType.cxx
AgeCommit message (Collapse)AuthorFilesLines
2023-03-23rtl::Static-> thread-safe-static in chart2Noel Grandin1-64/+25
Change-Id: I5bd595d5251cd92904750d6e6830f1d95f41b177 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149338 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-08-18Move tools/diagnose_ex.h to comphelper/diagnose_ex.hxxStephan Bergmann1-1/+1
...so that its TOOLS_WARN_EXCEPTION can be used in comphelper/source/misc/logging.cxx in a follow-up commit. (And while at it, rename from diangose_ex.h to the more appropriate diagnose_ex.hxx. The comphelper module is sufficiently low-level for this immediate use case, so use that at least for now; o3tl might be even more suitable but doesn't have a Library until now. Also, for the immediate use case it would have sufficed to only break DbgGetCaughtException, exceptionToString, TOOLS_WARN_EXCEPTION, TOOLS_WARN_EXCEPTION_IF, and TOOLS_INFO_EXCEPTION out of include/tools/diagnose_ex.h into an additional new include/comphelper/diagnose_ex.hxx, but its probably easier overall to just move the complete include file as is.) Change-Id: I9f3222d4ccf1a9ac29d7eb9ba1530d53e2affaee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138451 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2022-01-22use more concrete types in chart2, ChartTypeNoel Grandin1-0/+5
Change-Id: Ibd299e2e8d82169706d810af98c29d684809c320 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128741 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-12-05speed up property access in chartsNoel Grandin1-3/+4
uno::Any copy and assign is fairly hot, so try and do those operations in one step Change-Id: I110566ba98788d5a658d229433de291c8cdf146c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126377 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-01-14clang-tidy modernize-concat-nested-namespace in chart2Noel Grandin1-1/+1
Change-Id: I320234b60963d80f6870a9ce1fead8e29de437aa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86759 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-07-31Improved loplugin:stringconstant (now that GCC 7 supports it): chart2Stephan Bergmann1-3/+3
Change-Id: I9fb8e2853b5ddb1f9fe589f4e47828025ea52915 Reviewed-on: https://gerrit.libreoffice.org/76692 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-10-08tdf#42949 Fix IWYU warnings in chart2/source/model/*cxxGabor Kelemen1-1/+2
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>
2018-06-16tdf#42949 Fix IWYU warnings in chart2/source/model/{main,template}/*hxxGabor Kelemen1-0/+2
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I53b8ac58e5f5a3778835e06a73b5f6e11dce4357 Reviewed-on: https://gerrit.libreoffice.org/55569 Tested-by: Jenkins Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2018-04-09use more DBG_UNHANDLED_EXCEPTIONNoel Grandin1-2/+3
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>
2018-03-08loplugin:unusedfieldsNoel Grandin1-5/+3
Change-Id: Id332557cbe7fb42d3d794612f26aa3ac161548d9 Reviewed-on: https://gerrit.libreoffice.org/50902 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-12-11loplugin:salcall fix functionsNoel Grandin1-1/+1
since cdecl is the default calling convention on Windows for such functions, the annotation is redundant. Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d Reviewed-on: https://gerrit.libreoffice.org/46164 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-11-03inline ASSERT_EXCEPTION macro in chart2Noel Grandin1-2/+1
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>
2017-10-23loplugin:includeform: chart2Stephan Bergmann1-4/+4
Change-Id: I5b455c684e7cd689d5160135246f3400363c7d40
2017-09-11clang-tidy modernize-use-emplace in c*Noel Grandin1-23/+18
Change-Id: I419d1f67ba301050d05981db2a3d6178878684a9 Reviewed-on: https://gerrit.libreoffice.org/42110 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-08-02remove unnecessary use of 'this->'Noel Grandin1-1/+1
Change-Id: I5c115389af7d24c18ddaf5fbec8c00f35017a5b4 Reviewed-on: https://gerrit.libreoffice.org/40671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-05-07revert OSL_ASSERT changesChris Sherlock1-1/+1
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
2017-05-07tdf#43157: convert chart2 model source from OSL_ASSERT to assertChris Sherlock1-1/+1
Change-Id: Id426cf71bfa63a202979e6bd3fa230cabeeb4dcc
2017-02-15Drop :: prefix from std in c*/Tor Lillqvist1-5/+5
Change-Id: If078cda95fa6ccd37270a5e9d81cfa0b84e71155 Reviewed-on: https://gerrit.libreoffice.org/34324 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2017-02-03makeAny->Any in basctl..chart2Noel Grandin1-2/+2
Change-Id: Ief1cdffbfc59ab4e35ac945d020772ff84c50d61 Reviewed-on: https://gerrit.libreoffice.org/33867 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-01-26Remove dynamic exception specificationsStephan Bergmann1-11/+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>
2016-11-11loplugin:expandablemethods in chart2Noel Grandin1-16/+4
Change-Id: Ie6650628683ec7c67359351eec0e09033f2b50cb Reviewed-on: https://gerrit.libreoffice.org/30750 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-07-13chart2: remove unused ContainerHelper.hxx includesJochen Nitschke1-1/+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>
2016-04-18clean-up: unused using declarations and includesJochen Nitschke1-1/+0
Searched source for using declarations. Checked if those symbols reappear in the source file, even in comments or dead code but not in #include statements. If they don't reappear, remove the declaration. Remove includes whose symbol got removed. Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0 Reviewed-on: https://gerrit.libreoffice.org/24148 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-12cleanup: remove unused com/sun/star/uno includesJochen Nitschke1-1/+0
Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-14com::sun::star->css in chart2Noel Grandin1-1/+1
Change-Id: I04320d32d6d5c54e461cfabef58645f8b772bc69
2015-11-19use comphelper::containerToSequenceNoel Grandin1-3/+3
in chart2, we remove a local equivalent of the method Change-Id: I25129a3d1ea1dd724eb9cd38a57be37a78b3d100
2015-04-23loplugin:staticmethodsNoel Grandin1-2/+2
Change-Id: Iab2f10b000ef41fb090e0034785d4ed0bda4cf43
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann1-3/+3
Change-Id: I5bc47d62afa9cf43f4f1978e082bba43920eb10d
2015-02-12Use constructors for services from chartcore.component.Ursache Vladimir1-0/+7
Change-Id: I72227b45f305734060a669275044f6f9c8859bc5
2014-12-18fix buildCaolán McNamara1-1/+1
Change-Id: I920227cd175dace306ebb16a8e476f483cf11a7a
2014-12-09inline UNO helper macrosNoel Grandin1-2/+23
Change-Id: Ia401dd2f51108d2f3b08cd3d6d433a12ac17ee74
2014-05-20Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part18Julien Nabet1-2/+2
Change-Id: Ibf958dbfbf7cdbe6ad31d390138be8d4d468c225
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann1-7/+7
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2013-07-29fdo#62475 removed pointless commentsJelle van der Waa1-1/+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>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-5/+4
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
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac1-17/+17
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>
2012-06-21re-base on ALv2 code.Michael Meeks1-23/+14
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2011-11-27remove include of pch header in chart2Norbert Thiebaud1-2/+0
2011-03-29drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito1-0/+0
2011-03-10Merge commit 'ooo/DEV300_m101' into integration/dev300_m101Kohei Yoshida1-50/+54
2011-01-18Remove useless comments and some dead code.Thomas Arnhold1-6/+1
2010-10-13Add vim/emacs modelines to all source filesSebastian Spaeth1-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>
2010-10-07chart49: #i113103# use corrected double-checked locking pattern for default ↵Ingrid Halama1-25/+23
properties
2010-10-06chart49: #i113103# use corrected double-checked locking pattern for ↵Ingrid Halama1-15/+16
propertysetinfo
2010-10-05chart49: #i113103# prevent deadlock caused by mixed mutex locking order wiht ↵Ingrid Halama1-15/+15
static variable initialization
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien1-4/+1
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2008-04-10INTEGRATION: CWS changefileheader (1.4.70); FILE MERGEDRüdiger Timm1-26/+18
2008/04/01 10:50:34 thb 1.4.70.2: #i85898# Stripping all external header guards 2008/03/28 16:44:11 rt 1.4.70.1: #i87441# Change license header to LPGL v3.
2007-09-18INTEGRATION: CWS chart11 (1.3.2); FILE MERGEDVladimir Glazounov1-12/+5
2007/07/31 12:56:45 bm 1.3.2.1: #i80084# avoid usage of map operator[] with enums as keys, simplify initialization of default property values
2007-07-25INTEGRATION: CWS chart07 (1.2.12); FILE MERGEDRüdiger Timm1-2/+3
2007/06/27 13:40:23 bm 1.2.12.1: some warnings removed
2007-05-22INTEGRATION: CWS chart2mst3 (1.1.4); FILE ADDEDVladimir Glazounov1-0/+372
2007/02/08 21:25:40 iha 1.1.4.16: resync m195 -> m202 2006/03/29 22:24:45 iha 1.1.4.15: restructure legend entry creation + legend entries in data labels 2005/11/29 09:53:35 bm 1.1.4.14: #i58587# correct adding and removing modification listeners at XPropertySet properties 2005/10/11 09:20:44 bm 1.1.4.13: license header change 2005/08/03 16:36:22 bm 1.1.4.12: algohelper.hxx split up into CommonFunctors.hxx ContainerHelper.hxx CloneHelper.hxx 2005/07/13 09:16:54 bm 1.1.4.11: changed defaults for properties 2005/04/14 16:26:08 iha 1.1.4.10: changed servicenames to avoid confusion with model services 2005/03/30 16:31:11 bm 1.1.4.9: make model cloneable (+first undo implementation) 2004/09/16 14:42:45 bm 1.1.4.8: API simplification 2004/09/16 12:27:25 bm 1.1.4.7: API simplification 2004/06/29 12:26:32 bm 1.1.4.6: XChartTypeTemplate changes 2004/04/27 13:36:20 bm 1.1.4.5: +optional roles 2004/04/01 10:53:08 bm 1.1.4.4: XChartType: may return a coordinate system now 2004/03/02 16:40:42 bm 1.1.4.3: allow creating more than one coordinate system 2004/03/02 09:49:03 bm 1.1.4.2: XChartTypeInterface changed, StockBars are no longer default now 2004/02/13 16:51:39 bm 1.1.4.1: join from changes on branch bm_post_chart01