summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-12-24 11:03:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-12-24 11:27:11 +0000
commitbaa6458c8b1063e3b06f3d6d6ccef54f7e9250dd (patch)
treec42f3400cf0d11345eb43a0fe25cc7eb4017e002 /sfx2
parentc7da07ad5150d9c0d8e1a99b053009f103d792d9 (diff)
callcatcher: update unusedcode
Change-Id: I0b75dabfcb4a53dbbe361a34a6d9661a5b4aedd2
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/AsynchronousCall.cxx11
-rw-r--r--sfx2/source/sidebar/AsynchronousCall.hxx1
2 files changed, 2 insertions, 10 deletions
diff --git a/sfx2/source/sidebar/AsynchronousCall.cxx b/sfx2/source/sidebar/AsynchronousCall.cxx
index 50f1a1cc982c..bdd530a5dd5c 100644
--- a/sfx2/source/sidebar/AsynchronousCall.cxx
+++ b/sfx2/source/sidebar/AsynchronousCall.cxx
@@ -40,14 +40,7 @@ AsynchronousCall::~AsynchronousCall (void)
CancelRequest();
}
-void AsynchronousCall::RequestCall (const Action& rAction)
-{
- CancelRequest();
- maAction = rAction;
- RequestCall();
-}
-
-void AsynchronousCall::RequestCall (void)
+void AsynchronousCall::RequestCall()
{
if (mnCallId == 0)
{
@@ -56,7 +49,7 @@ void AsynchronousCall::RequestCall (void)
}
}
-void AsynchronousCall::CancelRequest (void)
+void AsynchronousCall::CancelRequest()
{
if (mnCallId != 0)
{
diff --git a/sfx2/source/sidebar/AsynchronousCall.hxx b/sfx2/source/sidebar/AsynchronousCall.hxx
index d3ecd5dcf98c..665a35b9bf5c 100644
--- a/sfx2/source/sidebar/AsynchronousCall.hxx
+++ b/sfx2/source/sidebar/AsynchronousCall.hxx
@@ -38,7 +38,6 @@ public:
AsynchronousCall (const Action& rAction);
~AsynchronousCall (void);
- void RequestCall (const Action& rAction);
void RequestCall (void);
void CancelRequest (void);