summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/AsynchronousCall.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/AsynchronousCall.cxx')
-rw-r--r--sfx2/source/sidebar/AsynchronousCall.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/AsynchronousCall.cxx b/sfx2/source/sidebar/AsynchronousCall.cxx
index 767e2e71bc4e..50f1a1cc982c 100644
--- a/sfx2/source/sidebar/AsynchronousCall.cxx
+++ b/sfx2/source/sidebar/AsynchronousCall.cxx
@@ -40,6 +40,13 @@ AsynchronousCall::~AsynchronousCall (void)
CancelRequest();
}
+void AsynchronousCall::RequestCall (const Action& rAction)
+{
+ CancelRequest();
+ maAction = rAction;
+ RequestCall();
+}
+
void AsynchronousCall::RequestCall (void)
{
if (mnCallId == 0)