summaryrefslogtreecommitdiffstats
path: root/slideshow/test
Commit message (Collapse)AuthorAgeFilesLines
* pretty up logging of exceptionsNoel Grandin2019-08-051-1/+1
| | | | | | | | | | | | | | | Add exceptionToString() and getCaughtExceptionAsString() methods in tools. Use the new methods in DbgUnhandledException() Add special-case case code for most of the exceptions that contain extra fields, so all of the relevant data ends up in the log Change-Id: I376f6549b4d7bd480202f8bff17a454657c75ece Reviewed-on: https://gerrit.libreoffice.org/67857 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Add missing sal/log.hxx headersGabor Kelemen2018-07-311-0/+1
| | | | | | | | | | | | | | rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. This is a continuation of commit 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 to be able to remove those unneeded includes. This commit adds missing headers to every file found by: grep -FwL sal/log.hxx $(git grep -Elw 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF|SAL_DETAIL_LOG_STREAM|SAL_WHERE|SAL_STREAM|SAL_DEBUG') to directories from sfx2 to starmath Change-Id: I40ee7bfae6efdadd862319b7b693ad22c648e1c4 Reviewed-on: https://gerrit.libreoffice.org/58222 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
* remove some unused comphelper includesJochen Nitschke2018-04-152-4/+0
| | | | | | | | | and fix the fallout Change-Id: I5d0c2040f57a3ac354a7e277592da31d09a5f359 Reviewed-on: https://gerrit.libreoffice.org/52894 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
* add << operator for css::uno::ExceptionNoel Grandin2017-10-041-3/+3
| | | | | | | Change-Id: Ia23dafd07133779144965682df3b7125a3214235 Reviewed-on: https://gerrit.libreoffice.org/43046 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
* Rename the basegfx::tools namespace to basegfx::utilsTor Lillqvist2017-09-261-3/+3
| | | | | | | | | | | | | | Reduce potential confusion with the global tools namespace. Will hopefully make it possible to remove the annoying initial :: when referring to the global tools namespace. Unless we have even more tools subnamespaces somewhere. Thorsten said it was OK. Change-Id: Id088dfe8f4244cb79df9aa988995b31a1758c996 Reviewed-on: https://gerrit.libreoffice.org/42644 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* simplify some string handling in tracing callsNoel Grandin2017-06-231-4/+2
| | | | | | | Change-Id: I0fb76562429e691400a02216019c7f96791cf9b3 Reviewed-on: https://gerrit.libreoffice.org/39159 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* cleanup unused css/animations/ and css/presentation/ includesJochen Nitschke2017-05-213-3/+0
| | | | | | | Change-Id: Iafd106d431869d80f664bd540092bee4f10e14b5 Reviewed-on: https://gerrit.libreoffice.org/37862 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Revert "Fix typos"Stephan Bergmann2017-05-181-2/+2
| | | | | This reverts commit 26a67002fcb9381b54de6cae1aaa37120d49066a. "Iff" is not a typo, see 2a65bf32ec270484dcea4d22d3c93552dc0c24dd "Revert 'Typo: iff->if'".
* Fix typosAndrea Gelmini2017-05-181-2/+2
| | | | | | | | | Only replaced "iff" with "if" Change-Id: Ib9dfa5c12b05500043147fe3b65f923b1b12a581 Reviewed-on: https://gerrit.libreoffice.org/37782 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
* no need to use OUStringToOString in SAL_INFONoel Grandin2017-04-121-8/+3
| | | | | | | Change-Id: I707e0d72aba89b7e644def6f4c251e14f6599ad2 Reviewed-on: https://gerrit.libreoffice.org/36451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* 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
* OSL_TRACE -> SAL in sfx2..svxNoel Grandin2016-12-111-4/+4
| | | | | | | Change-Id: I78cf8058a5682baa3d7b00a25feeb2d28fb3e66e Reviewed-on: https://gerrit.libreoffice.org/31799 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann2016-10-051-2/+2
| | | | | | | | | ...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
* comphelper::OBaseMutex -> cppu::BaseMutexNoel Grandin2016-07-041-3/+3
| | | | | | | | | convert usage of deprecated class, and remove the old class Change-Id: I19fb9271090d19e5531622b58492e1a848d306e2 Reviewed-on: https://gerrit.libreoffice.org/26843 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* convert EXCEPTION_ to scoped enumNoel Grandin2016-05-131-5/+4
| | | | | | | | | | | | - simplify VCLExceptionSignal_impl - drop "minor" part of error code, nobody passes it in, and nobody checks it - rename Display to UserInterface, to prevent -Werror=shadow Change-Id: I503fd8a50ded30d59c30fb388796f6b1a0c058de Reviewed-on: https://gerrit.libreoffice.org/24892 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* boost::shared_ptr->std::shared_ptr in slideshowNoel Grandin2016-02-242-5/+5
| | | | Change-Id: I27da6bc550488ea65ccdf1d26f8178f803f495d6
* Remove excess newlinesChris Sherlock2016-02-092-6/+0
| | | | | | | | | | | | | | | | | | | A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
* vcl: rename EXC_* constants to EXCEPTION_*, EXC is too much like 'execute'Chris Sherlock2016-02-061-2/+2
| | | | Change-Id: I2f79e0419b27391cc9bdc45576e67eecdbc9efa4
* InterfaceContainer2 with vector instead of SequenceNoel Grandin2016-01-251-4/+4
| | | | | | | | | | 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
* use uno::Reference::set method instead of assignmentNoel Grandin2015-11-051-2/+1
| | | | Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
* Remove obsolete version map filesStephan Bergmann2015-10-231-25/+0
| | | | Change-Id: Ic179264fe306bb2bca9797f10e26c0224fb1dd00
* remove untyped Link<>Noel Grandin2015-10-211-3/+2
| | | | | | | Change-Id: I809f9e10309ceadda0a82c3818277323b34ec61b Reviewed-on: https://gerrit.libreoffice.org/19491 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* slideshow: remove unecessary boost/bind includesDaniel Robertson2015-10-191-2/+0
| | | | | | | | | | | All of the remaining includes of boost/bind.hpp may be removed from slideshow, as last remaining uses of boost::bind have been removed from the module. There should be no side effects due to this change. Change-Id: I4e1855545fad69d09e594d0be139c09aad561b2d Reviewed-on: https://gerrit.libreoffice.org/19395 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* slideshow: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2015-09-075-10/+7
| | | | | | | | | with the variadic variants. Change-Id: I3160235d0e6253626a8facbfed33e3c252505cbf Reviewed-on: https://gerrit.libreoffice.org/18336 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* slideshow: prefer value_type over manual type generationThorsten Behrens2015-08-111-2/+2
| | | | | | | Change-Id: I3e088a10e7bc0da73e4fa20db15e71581661fe4b Reviewed-on: https://gerrit.libreoffice.org/17641 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* tdf#92459 replace deprecated o3tl featuresDaniel Robertson2015-08-081-10/+6
| | | | | | | | | | Replace deprecated features from the o3tl including select1st and select2nd with lambda expressions. Change-Id: I0cb1aedc3e193c52d25e2837a47d9d90c898079e Reviewed-on: https://gerrit.libreoffice.org/17459 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* cppcheck:noExplicitConstructorNoel Grandin2015-08-071-1/+1
| | | | Change-Id: I2717d3d120df8af5b7e9af8d147a57b9f5b5ecbe
* Revert "Typo: iff->if"Julien Nabet2015-06-231-2/+2
| | | | | | This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
* Typo: iff->ifJulien Nabet2015-06-231-2/+2
| | | | Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
* slideshow: simplify code by replacing std::find_if by std::any_of/std::none_ofTakeshi Abe2015-05-131-2/+2
| | | | | | | Change-Id: Ib8eec5074e82127e11f4fba2c0b143ab8cef3bcc Reviewed-on: https://gerrit.libreoffice.org/15714 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-151-1/+1
| | | | | | | | | | | | | | | | 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
* removed nTimeout variableJennifer Liebel2014-11-051-4/+1
| | | | | | | Change-Id: Ibc5bf2b0be58e8fa81d3cdf1ba2a39503b059f1a Reviewed-on: https://gerrit.libreoffice.org/12262 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* fdo#82577: Handle WindowNoel Grandin2014-09-231-4/+4
| | | | | | | Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
* fixincludeguards.sh: slideshowThomas Arnhold2014-04-191-3/+3
| | | | Change-Id: Id966e572afb403fd652a7a9b3936e1cfae4581b9
* remove unnecessary scope qualifier from sal_Bool usesNoel Grandin2014-04-031-1/+1
| | | | | | i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
* Remove visual noise from slideshowAlexander Wilms2014-02-252-2/+2
| | | | Change-Id: I87d07afbffa9d4633ed31bdb88f2dad660c25a18
* Remove unneccessary commentsAlexander Wilms2014-02-232-2/+2
| | | | | | | 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>
* Mark as constTakeshi Abe2013-07-141-2/+2
| | | | Change-Id: I0bf93f1293fb08b8b558fcac0cb496ed99ad13d9
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-072-15/+15
| | | | | | | | 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
* remove unused and commented out codeThomas Arnhold2013-03-041-5/+0
| | | | | | This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
* String::CreateFromAscii removalRicardo Montania2013-02-261-1/+1
| | | | | | | Change-Id: I86a33ef14b2bcdea1655db410f36d799689a1377 Reviewed-on: https://gerrit.libreoffice.org/2402 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* Another lacking parenthesisJulien Nabet2013-01-201-2/+1
| | | | Change-Id: If5944101688b0219d2476e5c3b29f704634c3bcc
* Fix missing parenthesisJulien Nabet2013-01-201-1/+1
| | | | Change-Id: I65d54513bf6ff9ec62edcb3388302a8352f48898
* fdo#46808, Use service constructor for presentation::SlideShowNoel Grandin2013-01-151-8/+4
| | | | Change-Id: Ib757190a9452e8cb69bff417ebd7b558038e1537
* Improvement on previous commit, UCB clean upStephan Bergmann2012-09-141-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | * As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
* re-base on ALv2 code. Includes:Michael Meeks2012-07-116-136/+82
| | | | | | | | | | | | | Avoid some uses of non portable #!/bin/bash in shell scripts. Patch contributed by Pedro Giffuni http://svn.apache.org/viewvc?view=revision&revision=1235297 remove redundant namespace, patch contributed Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1162610 removal of OS/2 port changes, and preferring our similiar tools/inc/tools/solar.h DLLPOSTFIX cleanup. i118595 - Removal of the use of getopt() from rscdep. Patch contributed by Andre Fische http://svn.apache.org/viewvc?view=revision&revision=1202270
* targetted re-work of cppunit pieces.Michael Meeks2012-06-274-12/+4
|
* re-base on ALv2 code.Michael Meeks2012-06-211-23/+14
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* targeted string re-workNorbert Thiebaud2012-06-021-5/+5
| | | | Change-Id: Ia1ab054537ac379f08ecd1950ca686d08be35d03
* Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi2012-04-061-2/+1
|