summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/tools/AsynchronousCall.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/inc/tools/AsynchronousCall.hxx')
-rw-r--r--sd/source/ui/inc/tools/AsynchronousCall.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sd/source/ui/inc/tools/AsynchronousCall.hxx b/sd/source/ui/inc/tools/AsynchronousCall.hxx
index d20a76f3ee09..2733f2242e09 100644
--- a/sd/source/ui/inc/tools/AsynchronousCall.hxx
+++ b/sd/source/ui/inc/tools/AsynchronousCall.hxx
@@ -54,20 +54,16 @@ public:
~AsynchronousCall();
/** Post a function object that is to be executed asynchronously. When
- this method is called while the current function object has not bee
- executed then the later is destroyed and only the given function
+ this method is called while the current function object has not been
+ executed then the latter is destroyed and only the given function
object will be executed.
@param rFunction
The function object that may be called asynchronously in the
near future.
- @param nTimeoutInMilliseconds
- The timeout in milliseconds until the function object is
- executed.
*/
typedef ::std::function<void ()> AsynchronousFunction;
void Post (
- const AsynchronousFunction& rFunction,
- sal_uInt32 nTimeoutInMilliseconds=10);
+ const AsynchronousFunction& rFunction);
private:
Timer maTimer;