summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/CommandDispatch.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-03-27tdf#146619 Remove unused #includes from C/C++ filesRafał Dobrakowski1-1/+0
'chart2' module was cleaned. Change-Id: Ib4cdb3c8a21d0ed47f4970894d416327df5e68a6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164864 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.extern@allotropia.de>
2023-02-22BaseMutex->std::mutex in CommandDispatchNoel Grandin1-26/+18
Change-Id: Ic73a84eb793d45e1041698e45e2c844a1e2f2f66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147415 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2022-09-02no need to use unique_ptr for this map in chart::CommandDispatchNoel Grandin1-25/+17
map is already a node based data structure, so the values will stay in the same place in memory Change-Id: I255d99cd2014f33524480e218d2d9cd5ca812375 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139235 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>
2021-12-17use OInterfaceContainerHelper3 in CommandDispatchNoel Grandin1-5/+3
Change-Id: Ib193947279c4fe1862559d681278a3a73c8e8249 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126987 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-05-17fix leak in CommandDispatchNoel Grandin1-20/+9
Change-Id: I0249b18fd40f4f5ef95e2101286dc25782c42eb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115684 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2018-12-14tdf#42949 Fix IWYU warnings in chart2/source/controller/*/cxx (1)Gabor Kelemen1-4/+0
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Cleaned directories are: accessibility, drawinglayer, itemsetwrapper, main, sidebar Change-Id: I612eae9dec636d57a3a3a00102d74b964da5b54c Reviewed-on: https://gerrit.libreoffice.org/64307 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
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>
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-2/+2
Change-Id: I5b455c684e7cd689d5160135246f3400363c7d40
2017-05-09loplugin:constantparamNoel Grandin1-3/+2
Change-Id: Ia9500b25602c14aadf49fe373682ae9d87a0a1a2 Reviewed-on: https://gerrit.libreoffice.org/37390 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 controller source from OSL_ASSERT to assertChris Sherlock1-1/+1
Change-Id: I184c2c0ed74b6a94eb2366c35daf9ed386fbc36f
2017-01-26Remove dynamic exception specificationsStephan Bergmann1-5/+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-03-14com::sun::star->css in chart2Noel Grandin1-1/+1
Change-Id: I04320d32d6d5c54e461cfabef58645f8b772bc69
2016-01-25InterfaceContainer2 with vector instead of SequenceNoel Grandin1-2/+2
create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-1/+1
Change-Id: I71de514405bb9bcc746c1ab9633e7fe659888943
2015-10-08chart2: replace for_each with range-based forDaniel Robertson1-21/+8
Replace complex uses of ::std::for_each with a range-based for-loop. Change-Id: I6f3d8488a63a5bed271ab70ad6f024e9869906cc Reviewed-on: https://gerrit.libreoffice.org/19143 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-06-08cppcheck: noExplicitConstructorCaolán McNamara1-1/+1
Change-Id: I8b03c27188b02c3c4a9a9fbbe0df1fb1ae1c5caf
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann1-5/+5
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2013-07-29fdo#62475 removed pointless commentsJelle van der Waa1-3/+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-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
2012-07-18re-base on ALv2 code. Includes:Michael Meeks1-23/+14
118568: switch to using ucpp Patch contributed by Juergen Schmidt http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-06-06fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin1-7/+3
Update code to use factory method URLTransformer::create Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2011-11-27remove include of pch header in chart2Norbert Thiebaud1-2/+0
2011-01-25emoved lines of code that were commented out.Alfonso Eusebio1-2/+0
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-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.3.94); FILE MERGEDRüdiger Timm1-23/+18
2008/03/28 16:43:49 rt 1.3.94.1: #i87441# Change license header to LPGL v3.
2007-07-25INTEGRATION: CWS chart07 (1.2.12); FILE MERGEDRüdiger Timm1-5/+5
2007/07/10 13:38:14 bm 1.2.12.1: #i69281# warnings removed
2007-05-22INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDEDVladimir Glazounov1-0/+219
2007/02/08 21:25:36 iha 1.1.2.7: resync m195 -> m202 2006/08/22 17:31:54 bm 1.1.2.6: #i68861# implement the status bar 2006/08/09 16:50:22 bm 1.1.2.5: fireStatusEventForURL: use bool instead of sal_Bool 2006/01/20 16:45:34 bm 1.1.2.4: allow firing only one status event (needed on initial OLE activation) when the listener is added 2005/11/25 17:42:34 bm 1.1.2.3: command enabling according to model state 2005/11/22 16:55:46 bm 1.1.2.2: reused variable, bad syntax 2005/11/21 14:52:32 bm 1.1.2.1: classes for dispatching specific events, especially Undo