diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-08-28 09:22:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-08-28 09:50:33 +0100 |
commit | 6a39fdf81fa561a587b9b9c6a28ba2891f448563 (patch) | |
tree | 22550852b3b9c4d01624f4985cf62da604a8271d /sfx2/source/sidebar | |
parent | 4bd317f845c2f3470c7fc354e478be08c2949e0c (diff) |
callcatcher: update unused code
Change-Id: I6cb74836f98d7507359f39e1fd03a1462b2e0c31
Diffstat (limited to 'sfx2/source/sidebar')
-rw-r--r-- | sfx2/source/sidebar/AsynchronousCall.cxx | 26 | ||||
-rw-r--r-- | sfx2/source/sidebar/AsynchronousCall.hxx | 1 |
2 files changed, 0 insertions, 27 deletions
diff --git a/sfx2/source/sidebar/AsynchronousCall.cxx b/sfx2/source/sidebar/AsynchronousCall.cxx index 2ce02dc81fff..767e2e71bc4e 100644 --- a/sfx2/source/sidebar/AsynchronousCall.cxx +++ b/sfx2/source/sidebar/AsynchronousCall.cxx @@ -29,36 +29,17 @@ AsynchronousCall::AsynchronousCall (void) { } - - - AsynchronousCall::AsynchronousCall (const Action& rAction) : maAction(rAction), mnCallId(0) { } - - - AsynchronousCall::~AsynchronousCall (void) { CancelRequest(); } - - - -void AsynchronousCall::RequestCall (const Action& rAction) -{ - CancelRequest(); - maAction = rAction; - RequestCall(); -} - - - - void AsynchronousCall::RequestCall (void) { if (mnCallId == 0) @@ -68,9 +49,6 @@ void AsynchronousCall::RequestCall (void) } } - - - void AsynchronousCall::CancelRequest (void) { if (mnCallId != 0) @@ -80,9 +58,6 @@ void AsynchronousCall::CancelRequest (void) } } - - - IMPL_LINK(AsynchronousCall, HandleUserCall, void*, EMPTYARG ) { mnCallId = 0; @@ -92,7 +67,6 @@ IMPL_LINK(AsynchronousCall, HandleUserCall, void*, EMPTYARG ) return sal_True; } - } } // end of namespace sfx2::sidebar /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 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); |