summaryrefslogtreecommitdiff
path: root/include/svtools/asynclink.hxx
AgeCommit message (Collapse)AuthorFilesLines
2016-03-17loplugin:constantparam in svtoolsNoel Grandin1-1/+1
Change-Id: I1a3c4a36e29a6712c589ffd3aaada593880d978d Reviewed-on: https://gerrit.libreoffice.org/23304 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann1-10/+10
Change-Id: I7fc4b4d5c895f241cfb052b009e943e073f3befe
2015-08-31make Link<> typedNoel Grandin1-9/+9
Change-Id: I8949a92792df892b7f360e6b9979c8f61c702ce3
2015-08-28make PostUserEvent Link<> typedNoel Grandin1-1/+1
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a
2015-07-14loplugin:unusedmethods svtoolsNoel Grandin1-2/+0
Change-Id: I04ad31055c04a247faddf4311943ca769051473c Reviewed-on: https://gerrit.libreoffice.org/17032 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-10Replace IMPL_STATIC_LINK[_TYPED] with more useful variantsStephan Bergmann1-2/+2
Change-Id: I344ba9d22adada82170d45a4cf723af6a286b883
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann1-1/+2
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-04-30Gradually typed LinkStephan Bergmann1-4/+4
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2014-12-09changed Timer tp idleTobias Madl1-4/+4
Change-Id: Ia3e76239ba98530547e057bebfda767ad684730b
2014-05-07The opaque PostUserEvent IDs are actually pointersStephan Bergmann1-1/+2
...so declare them as such. This avoids the recurring mistake of storing such IDs as sal_uInt32, truncating in 64 bit environments, causing RemoveUserEvent to potentially not remove the event, it thus firing "too late" and probably causing a crash. While at it, consolidate the trivially unnecessary overloads of both Application::PostUserEvent and Window::PostUserEvent. And in each of them, it looks like deleting the mpLink member was missing from the failure branch. Change-Id: Iab13afbb06e12ac15dec6a6b5b85a7e402a3c654
2014-03-24svtools: sal_Bool->boolNoel Grandin1-7/+6
Change-Id: I56072620f9ea28833e1590a7fff7d71ed11fc34c
2014-03-19coverity#708192 Uninitialized pointer fieldCaolán McNamara1-5/+17
Change-Id: Iaccc034f61442242ce1b864457f0d048cdeae98d
2013-11-09fdo#65108 inter-module includes <> include/svtoolsNorbert Thiebaud1-1/+1
Change-Id: I7e004e1e4fbc2141ff421af6be0e8bf5a026b189
2013-10-23fixincludeguards.sh: include/s*Thomas Arnhold1-2/+2
Change-Id: I57fcfd442d2b5815e7c07a9cbd660f3698168dee
2013-04-23execute move of global headersBjoern Michaelsen1-0/+66
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a