summaryrefslogtreecommitdiffstats
path: root/animations
Commit message (Collapse)AuthorAgeFilesLines
* loplugin:salcall fix functionsNoel Grandin2017-12-111-11/+11
| | | | | | | | | | 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>
* Replace lists by vectors in animation parts (sd/animations)Julien Nabet2017-11-041-27/+21
| | | | | | | Change-Id: Ie5306041e5cde5617e460ae4d98861e8d26e389d Reviewed-on: https://gerrit.libreoffice.org/44297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* use more SAL_N_ELEMENTS part 3Noel Grandin2017-06-151-1/+1
| | | | | | | Change-Id: I82e366fefd2e31928b99840fe76649cc3521e623 Reviewed-on: https://gerrit.libreoffice.org/38789 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
* loplugin:comparisonwithconstant in avmediaNoel Grandin2017-05-161-1/+1
| | | | | | | Change-Id: Iba0a1969648e95f6e0f6a947f067c5b8e4eb3406 Reviewed-on: https://gerrit.libreoffice.org/37667 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky2017-04-211-1/+0
| | | | | | | | | Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
* Fix typosAndrea Gelmini2017-03-031-2/+2
| | | | | | | Change-Id: Iaefa094c82006346897f5563ac3ddcdc60ab68a3 Reviewed-on: https://gerrit.libreoffice.org/34809 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Drop :: prefix from std in [a-b]*/Tor Lillqvist2017-02-151-9/+9
| | | | | | | Change-Id: I0422aaf39bbce889c95ed9a81a0784cb03a1badd Reviewed-on: https://gerrit.libreoffice.org/34320 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
* Add missing #includesStephan Bergmann2017-02-061-1/+2
| | | | | | | | | ...and remove some unncessary using directives/declarations, in preparation of removing now-unnecessary #includes from cppumaker-generated files, post e57ca02849c3d87142ff5ff9099a212e72b8139c "Remove dynamic exception specifications". Change-Id: Iaf1f268871e2ee1d1c76cf90f03557527ebc9067
* makeAny->Any in accessibility..avmediaNoel Grandin2017-02-011-3/+3
| | | | | | | Change-Id: I70f2dfa66d7b66738a840e4a7b5c7fb1b8d7b39f Reviewed-on: https://gerrit.libreoffice.org/33756 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
* Remove dynamic exception specificationsStephan Bergmann2017-01-261-218/+192
| | | | | | | | | | | | | | | | | | | | | | | | | ...(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:unnecessaryoverride (dtors) in animationsStephan Bergmann2016-11-231-10/+0
| | | | Change-Id: I51b94f43e27da93afb3c44ed5f68e70e457fe8ea
* loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann2016-09-131-2/+2
| | | | | | | | | | | | | | | | | The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark overriding destructors as 'virtual'" appears to no longer be a problem with MSVC 2013. (The little change in the rewriting code of compilerplugins/clang/override.cxx was necessary to prevent an endless loop when adding "override" to OOO_DLLPUBLIC_CHARTTOOLS virtual ~CloseableLifeTimeManager(); in chart2/source/inc/LifeTime.hxx, getting stuck in the leading OOO_DLLPUBLIC_CHARTTOOLS macro. Can't remember what that isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.) Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
* tdf#43157 - Clean up OSL_ASSERT, DBG_ASSERT, etc.Gökhan Gurbetoğlu2016-09-051-3/+3
| | | | | | | Change-Id: I8114e338451b5b2e79b2318f558cbd075f024f08 Reviewed-on: https://gerrit.libreoffice.org/28584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorMuhammet Kara2016-08-021-22/+11
| | | | | | | | | in AnimationNode Change-Id: I2612286632dddbf96cbf918ffbeb09ac0c99d398 Reviewed-on: https://gerrit.libreoffice.org/27774 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:redundantcast: redundant static_casts in animationsStephan Bergmann2016-07-081-5/+2
| | | | Change-Id: I7449a82672d412a963eab7df793182af85b4cb53
* Remove excess newlinesChris Sherlock2016-02-091-113/+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>
* InterfaceContainer2 with vector instead of SequenceNoel Grandin2016-01-252-5/+6
| | | | | | | | | | 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 initialiser for Sequence<OUString>Noel Grandin2015-11-151-22/+11
| | | | | | | | | | | | | performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin:nullptr (automatic rewrite)Stephan Bergmann2015-11-101-6/+6
| | | | Change-Id: I11a107dadd064452b983c69356e7562ed36c8bc3
* Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann2015-10-121-111/+111
| | | | Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
* chmod -xTor Lillqvist2015-07-291-0/+0
| | | | Change-Id: I4a248b59e12587c3b2ce79676fdce29a348b6751
* com::sun::uno->css in avmedia and animationsNoel Grandin2015-07-171-35/+35
| | | | | | | Change-Id: Ie4365a488728c39fedacae7650b4b90260e7e44a Reviewed-on: https://gerrit.libreoffice.org/17153 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* tdf#88206: replace cppu::WeakImplHelper1 with cppu::WeakImplHelperTakeshi Abe2015-07-061-2/+2
| | | | | | | | | in animations. Change-Id: I7d776ddb81e0943bf2ea5895ea26631db76546ac Reviewed-on: https://gerrit.libreoffice.org/16645 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* Rephrase comparisons between bool and sal_BoolStephan Bergmann2015-05-081-4/+4
| | | | | | ...to cater for forthcoming loplugin:implicitboolconversion improvements Change-Id: I88c0c4681137022005c3a4c418e91cb17bc17148
* cppcheck: noExplicitConstructorCaolán McNamara2015-05-041-1/+1
| | | | Change-Id: Iea5bb0504518b380c3fe7c238d376dc26be8a7ef
* cppcheck: noExplicitConstructorCaolán McNamara2015-05-021-2/+2
| | | | Change-Id: I0b1cac50f9e158004f8c1b8294b7a1b9f21f9628
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-151-4/+4
| | | | | | | | | | | | | | | | 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
* Fix various XServiceInfo implementationsStephan Bergmann2015-03-171-1/+1
| | | | | | ...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
* native-code: animcore_component_getFactory -> ctorsMiklos Vajna2015-03-121-1/+1
| | | | Change-Id: Ife39c5114f946244691c72c9defa8854fdf8a1b6
* Clean up previous commitStephan Bergmann2015-03-113-65/+3
| | | | | | ...and fix AnimationNode::getSupportedServiceNames Change-Id: I199bc5a58174873794f082b149352359918bfc6b
* animations: convert animcore.component to constructor usageChris Sherlock2015-03-115-124/+259
| | | | | Change-Id: Ia623a19457000fe717e29d6b0e73f53b978f7de8 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* cppuhelper: clean up public headers with include-what-you-useMichael Stahl2014-11-181-0/+1
| | | | Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
* remove unnecessary 'using namespace rtl' declarationsNoel Grandin2014-10-291-1/+0
| | | | | | | | | It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* remove unnecessary use of Reference constructor in throwNoel Grandin2014-05-271-1/+1
| | | | | | | | | | | Convert code like this: throw IOException("xx", Reference< XInterface >(static_cast<OWeakObject*>(this)) ); to this: throw IOException("xx", static_cast<OWeakObject*>(this) ); Change-Id: Ife9f645f0f1810a8e80219126193015502c43dbb
* Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet2014-05-221-20/+20
| | | | Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-151-2/+2
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Missing includeStephan Bergmann2014-04-091-0/+2
| | | | Change-Id: I2e04a61cc682fd6390571807c547a713d224d32b
* animations: sal_Bool->boolNoel Grandin2014-04-071-11/+11
| | | | Change-Id: I77d10e56389042dd3caa8ed4816afe9f3baf5b22
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-261-111/+111
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* animations: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2014-03-101-10/+1
| | | | Change-Id: If677c147011799872cf5da2d148aacceebf5df42
* fdo#60698: Split out slideshow code from animationsMarcos Paulo de Souza2014-03-105-492/+0
| | | | | | Also remove the TargetPropertiesCreator service since just slideshow uses this. Change-Id: I80816f6225b7bd9fb18f48e69eb5dfd6709b6e56
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-262-228/+228
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from animationsAlexander Wilms2014-02-252-7/+7
| | | | | | | Change-Id: I45b8019bebf6530136642bf34be829d7e26e2454 Reviewed-on: https://gerrit.libreoffice.org/8228 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove unneccessary commentsAlexander Wilms2014-02-231-111/+111
| | | | | | | 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>
* Typo: atribute(s) -> attribute(s)Julien Nabet2014-02-061-2/+2
| | | | Change-Id: I5434402e372c4567b2c3f96f5c175618ba3e5cfb
* Related: fdo#69645 don't know if mxParent could become invalid..Caolán McNamara2014-02-041-3/+7
| | | | | | | after get and before call through mpParent. Probably can't, but I don't know for sure. Change-Id: Ib40e0709f1966687a37cc5b84bae1d554a5b4474
* fdo#54938 Convert to cppu::supportsServiceAlexandre Vicenzi2014-02-031-15/+5
| | | | | | | | Change-Id: I512c525029ebd63d261560d27e9f38bbe94f7e10 Reviewed-on: https://gerrit.libreoffice.org/7649 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-171-2/+2
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin2013-11-191-1/+1
| | | | | | This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
* Resolves: fdo#69645 Parent Node disposed and mpParent pointing to junkCaolán McNamara2013-11-051-1/+2
| | | | | | | mpParent points the contents of mxParent which is a WeakReference, so we can check if the WeakReference is still valid before using mpParent Change-Id: I40424714865e506b8cf27017539795eb834e10d2