summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-20 22:43:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-12-21 09:30:19 +0000
commit60bfcc0a4af860f21a840ce47585ff9395cf28e6 (patch)
tree47e8dfeaa380949383fb72f8d77fd69a905f6386 /sfx2
parent80c7dd48a0b11e6c3009ac03283cec550785b9c5 (diff)
callcatcher: SfxRequest::IsRecording unused for a long time
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/sfx2/request.hxx1
-rw-r--r--sfx2/source/control/request.cxx18
2 files changed, 0 insertions, 19 deletions
diff --git a/sfx2/inc/sfx2/request.hxx b/sfx2/inc/sfx2/request.hxx
index 7bebb731071b..e78fceba26a1 100644
--- a/sfx2/inc/sfx2/request.hxx
+++ b/sfx2/inc/sfx2/request.hxx
@@ -101,7 +101,6 @@ public:
static com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > GetMacroRecorder( SfxViewFrame* pFrame=NULL );
static sal_Bool HasMacroRecorder( SfxViewFrame* pFrame=NULL );
sal_uInt16 GetCallMode() const;
- bool IsRecording() const;
void AllowRecording( sal_Bool );
sal_Bool AllowsRecording() const;
sal_Bool IsAPI() const;
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index d55afa823993..5a9b3411ce4d 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -870,24 +870,6 @@ sal_Bool SfxRequest::IsAPI() const
}
//--------------------------------------------------------------------
-
-
-bool SfxRequest::IsRecording() const
-
-/* [Description]
-
- Returns sal_True if this SfxRequest is to be recorded ie
- 1. Currently a macro is beeing recorded
- 2. This request is even recorded
- 3. the request did not originate from a pure API (for example BASIC),
- otherwise sal_False.
-*/
-
-{
- return ( AllowsRecording() && GetMacroRecorder().is() );
-}
-
-//--------------------------------------------------------------------
void SfxRequest::SetModifier( sal_uInt16 nModi )
{
pImp->nModifier = nModi;