summaryrefslogtreecommitdiffstats
path: root/sc/workben
Commit message (Collapse)AuthorAgeFilesLines
* Remove add-in demo/test-files in sc/workbenAndreas Brandner2017-09-057-970/+0
| | | | | | | | Change-Id: Ie8a887e0a478bfe0fd3d31f895229e3aca553bee Reviewed-on: https://gerrit.libreoffice.org/41948 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Remove sc/workben-filesAndreas Brandner2017-09-053-2375/+0
| | | | | | | Change-Id: I0c3f3f212ea6f0e7f99e3b5edffef24bb279b456 Reviewed-on: https://gerrit.libreoffice.org/41937 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
* handle formula cells also in the python scriptMarkus Mohrhard2017-08-161-0/+11
| | | | | | | | Change-Id: I8a68cbd68db89c3e30827fa449e18f6c13f4d6e0 Reviewed-on: https://gerrit.libreoffice.org/41220 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
* add python script to interpret the calc cache formatMarkus Mohrhard2017-08-161-0/+76
| | | | | | | Change-Id: I5d66024024b8150fad67397a0debc40aab1ae5fc Reviewed-on: https://gerrit.libreoffice.org/41200 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Change the most obvious Date+=(long)... to Date+=static_cast<sal_Int32>(...)Eike Rathke2017-07-191-1/+1
| | | | | | | | | | | | | | | | | Simple search git grep -l 'Date.*[+-].*[(<] *long *[>)]' Since commit f5b0cc2a3690ba963b3f150886e1d5ddddee9530 Date: Sat Jul 1 16:01:15 2017 +0200 Date operators +,-,+=,-= have sal_Int32 operands instead of long. Change-Id: I2387cbceadcb056831225e4111353980d50a94d4 Reviewed-on: https://gerrit.libreoffice.org/40163 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* C++11 remove std::binary_function bases from functorsJochen Nitschke2017-07-071-4/+3
| | | | | | | | | | | | | | | | | | | std::binary_function is deprecated since C++11 and removed in C++17 90% done with regexp magic. removed obsolete <functional> includes. The std::binary_function base class was used by deprecated std::bind2nd, this was solved in individual commits. The members first_argument_type and second_argument_type were used in chart2/source/controller/dialogs/DataBrowserModel.cxx: DataBrowserModel::implColumnLess and are inlined in this commit. Change-Id: I60ded60a8d4afd59e15ac15a58e18d2498c9be5a Reviewed-on: https://gerrit.libreoffice.org/39659 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* C++11 remove std::unary_function bases from functorsJochen Nitschke2017-07-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | std::unary_function is deprecated since C++11 and removed in C++17 90% done with regexp magic. removed obsolete <functional> includes. The std::unary_function base class was used in 3 places: * chart2/source/tools/DataSeriesHelper.cxx: lcl_MatchesRole is used in a std::not1 function helper who uses the members return_type and argument_type. - replace deprecated std::not1 with a lambda * chart2/source/tools/ModifyListenerHelper.cxx: lcl_weakReferenceToSame used the argument_type member in the operator() parameter. - inline the parameter type. * xmloff/source/chart/SchXMLExport.cxx: lcl_SequenceToMapElement used result_type and argument_type in operator(). - inline the types Also fix compile error with gcc about finding std::for_each. Change-Id: I073673beb01410c3108e7d0346d9e7d6b9ad2e2f Reviewed-on: https://gerrit.libreoffice.org/39358 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Change all Idle* LINKs to be Timer*Jan-Marek Glogowski2017-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Seem UBSAN doesn't like my forced reinterpret_cast to set the Idles Link in the Timer class. Now there are two possible solution: 1. convert all (DECL|IMPL).*_LINK call sites to use a Timer* or 2. split the inheritance of Idle from Timer again to maintain different Link<>s and move all common code into a TimerBase. While the 1st is more correct, the 2nd has a better indicator for Idles. This implements the first solution. And while at it, this also converts all call sites of SetTimeoutHdl and SetIdleHdl to SetInvokeHandler and gets rid of some local Link objects, which are just passed to the SetInvokeHandler call. It also introduces ClearInvokeHandler() and replaces the respective call sites of SetInvokeHandler( Link<Timer *, void>() ). Change-Id: I40c4167b1493997b7f136add4dad2f4ff5504b69
* Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann2016-10-052-11/+11
| | | | | | | | | ...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c
* use Any constructor instead of temporariesNoel Grandin2016-05-041-3/+1
| | | | Change-Id: Iffb82a2cee1a28d89eeea2b905aaa14086ee475a
* tdf#94306 Replace boost::noncopyable in sc/sourceJochen Nitschke2016-04-011-3/+4
| | | | | | | | | | | and sc/workben with C++11 delete copy ctors add default ctors needed missing delete some ctors instead of making them private Change-Id: I0a131f95444ef040e5d580d8326f372b8167e19b Reviewed-on: https://gerrit.libreoffice.org/23717 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* tdf#96099 Reduce number of trivial typedefsChirag Manwani2016-03-071-25/+23
| | | | | | | Change-Id: I39e9fcfdf2203239ac56d1c8195ca7ac07054817 Reviewed-on: https://gerrit.libreoffice.org/22898 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* use consistent #define checks for the Windows platformNoel Grandin2016-02-161-1/+1
| | | | | | | | | | stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* remove unused typedefs and inline use-once typedefsNoel Grandin2015-11-181-3/+2
| | | | | | | | | and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* sc: replace that boost::ptr_vector<Reference<T>*> abominationMichael Stahl2015-11-132-15/+12
| | | | | | This looks like dead code anyway? Evidently it didnt' compile like that. Change-Id: Id6500c18d66c6932b24c15b653d992c449e260c4
* cppcheck: noExplicitConstructorCaolán McNamara2015-11-131-1/+1
| | | | Change-Id: Ife26f55c28c4631aec4ba4105225bfca72da8bff
* cppcheck: noExplicitConstructorCaolán McNamara2015-11-023-6/+6
| | | | Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
* com::sun::star->css in scNoel Grandin2015-10-284-54/+53
| | | | Change-Id: I7774890f46f9343e944e34db27af8bce3b1d0915
* refactor out some com::sun::star typedefsNoel Grandin2015-10-212-3/+2
| | | | | | which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
* remove untyped Link<>Noel Grandin2015-10-212-28/+18
| | | | | | | Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#39468 translated german comments in test.cxxAlbert Thuswaldner2015-10-091-61/+60
| | | | | | | Change-Id: Ie40fdafe89d2feed45306b50a358a02b077ceb52 Reviewed-on: https://gerrit.libreoffice.org/19287 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-09-301-1/+1
| | | | | | | Change-Id: I3ea8a90f0ec917b4e26335fcd31a5f7e0888589e Reviewed-on: https://gerrit.libreoffice.org/18972 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* sc: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-09-032-4/+4
| | | | | | | | | with the variadic variants. Change-Id: I2f55a6231e903b0ca198cee3a88023ad1db6c50c Reviewed-on: https://gerrit.libreoffice.org/18072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* convert QUICKHELP constants to scoped enumNoel Grandin2015-05-141-1/+1
| | | | Change-Id: Ie7302c909feb2e83b8b5e62a5e6a1f901783fb49
* Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann2015-04-291-2/+1
| | | | | | ...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-152-3/+3
| | | | | | | | | | | | | | | | ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
* Change tools::Time::GetSystemTicks to sal_uInt64Stephan Bergmann2015-04-091-6/+6
| | | | | | | | | | | | | | | ...as follow-up clean-up after 71fefe1dc2bcda3a4cc18d71e1acaf161cc059f2 "Change 'blink times' to be of type sal_uInt64 and thus consistent with Timer::Get/SetTimeout since 9c7016b5b530ca212b1275f44f9e2fc0527109ee 'Scheduler: Changed uLong to uInt32/uInt64.'" Transitively meant to change quite a number of further time-related places from sal_uLong/sal_uIntPtr to consistently use sal_uInt64. Change-Id: I38eb493943906356138bf58eb098d2f54a3dee34 Reviewed-on: https://gerrit.libreoffice.org/15214 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* we shouldn't need a static ref in these createOneInstance factory helpersCaolán McNamara2015-02-161-2/+1
| | | | | | at least not to ensure that they are singletons anyway Change-Id: I08176afa67ac5f8e4f479b70ca5d71c52d0bb9af
* fdo#39440 sc: reduce scope of local variablesMichael Weghorn2014-12-211-2/+1
| | | | | | This addresses some cppcheck warnings. Change-Id: Icd031be4aeec07ba60804923e3506d64cf876dd8
* Don't treat clew as part of an "external" clcc moduleTor Lillqvist2014-12-081-1/+1
| | | | | | | | | | | | | | | | | | | There is no obvious authoritative upstream for clew anyway, so it causes philosophical problems for distros. For a while, we used to use a zip archive from the "clcc" project on SourceForge that included clew.c and clew.h. (Before that we also just had clew.c and clew.h in our source repo.) So, drop the external/clcc module and have clew.c and clew.h in the source repo again. But this time clew is in a module of its own, not in sc. This re-introduces "No need to have OpenCL optional at configure-time" This reverts commit 764836cb00e8e6dfd2ab48e080a166ec90359e01. Change-Id: I413142f4f9f8399489f9c3e5327132822f07a454 Reviewed-on: https://gerrit.libreoffice.org/13368 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* "#pragma hdrstop" looks quite obsoleteMichael Stahl2014-11-172-8/+0
| | | | Change-Id: Id4b01f02d5d90215164c07b8076498df65978fa3
* make that file platform independentMarkus Mohrhard2014-11-101-5/+9
| | | | Change-Id: I65c056faaa95af3493b73a7403f199c8c826d724
* fdo#82577: Handle TimeNoel Grandin2014-10-011-6/+6
| | | | | | | | | | Put the TOOLS Time class in the tools namespace. Avoids clash with the X11 Time typedef. Change-Id: Iac57d5aef35e81ace1ee0d5e6d76cb278f8ad866 Reviewed-on: https://gerrit.libreoffice.org/11684 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fdo#82577: Handle WindowNoel Grandin2014-09-231-5/+5
| | | | | | | Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
* remove whitespaceMarkus Mohrhard2014-06-255-18/+0
| | | | Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
* fixincludeguards.sh: scThomas Arnhold2014-04-192-4/+4
| | | | sorry, huge one...
* remove executable bitAndras Timar2014-04-171-0/+0
| | | | Change-Id: I91f6e861f6d0dbea1b57ac73857e0c706b27f681
* whitespace cleanup in scMarkus Mohrhard2014-04-063-32/+0
| | | | Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
* Remove unneccessary commentsAlexander Wilms2014-02-233-16/+16
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Clean-up uno/lbnames.hStephan Bergmann2013-12-161-1/+0
| | | | Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
* fdo#54938: Convert sc to use cppu::supportsServiceMarcos Paulo de Souza2013-12-091-18/+2
| | | | | Change-Id: I1f1606244fbb6e6ddd5b6427322564a0033de78b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin2013-11-191-2/+2
| | | | | | This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
* Bin comments that claim to say why some header is includedTor Lillqvist2013-10-222-2/+2
| | | | | | They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
* drop unnecessary tools/string includesCaolán McNamara2013-10-201-1/+1
| | | | Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
* add mode lines to new files (and idls) since last runCaolán McNamara2013-09-222-0/+5
| | | | Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
* On linux, the entry library name is 'libOpenCL.so'.Kohei Yoshida2013-09-191-1/+2
| | | | | | | And it should be installed in the system library path, so no need to specify full path to load it. Change-Id: I0a77bd6911e69f8453b7c95c7cdcb77fe2e6e5e0
* Add a quick test code to detect available OpenCL platforms.Kohei Yoshida2013-09-191-0/+71
| | | | | | Compile this with clew files from source/core/opencl/clcc. Change-Id: I9a0be046ec996a6bccdcc8555aa8119fcf9afde3
* targetted clean of redundant header piece from 62badf3828Michael Meeks2013-07-261-3/+0
| | | | Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-221-21/+5
|
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-073-34/+34
| | | | | | | | 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