summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-10 23:27:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-12 09:10:01 +0100
commit154fd181f9c6909090e3dc5ee64645fc5d8fd9be (patch)
treefed2c89aed6f0de9b1e5498eca40ba69b86c7427
parent9d5fcd70e1bfdb66bb3e8ee7005ac723f1a5061f (diff)
so now SfxRequest::GetRecordingMacro NULL returning stub can be removed
-rw-r--r--sfx2/inc/macro.hxx4
-rw-r--r--sfx2/inc/sfx2/request.hxx1
-rw-r--r--sfx2/source/control/request.cxx14
3 files changed, 2 insertions, 17 deletions
diff --git a/sfx2/inc/macro.hxx b/sfx2/inc/macro.hxx
index 09a6a344bc3d..a25a65442052 100644
--- a/sfx2/inc/macro.hxx
+++ b/sfx2/inc/macro.hxx
@@ -10,8 +10,6 @@
class SfxSlot;
class SfxShell;
-struct SfxMacro_Impl;
-class SfxMacro;
//====================================================================
@@ -149,6 +147,8 @@ enum SfxMacroMode
//====================================================================
+struct SfxMacro_Impl;
+
class SfxMacro
/* [Description]
diff --git a/sfx2/inc/sfx2/request.hxx b/sfx2/inc/sfx2/request.hxx
index d7c993b94148..eb5ae9568628 100644
--- a/sfx2/inc/sfx2/request.hxx
+++ b/sfx2/inc/sfx2/request.hxx
@@ -100,7 +100,6 @@ public:
void SetReturnValue(const SfxPoolItem &);
const SfxPoolItem* GetReturnValue() const;
- static SfxMacro* GetRecordingMacro();
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;
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index bc5e03feea91..6f9c03a9d69a 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -824,20 +824,6 @@ sal_Bool SfxRequest::IsDone() const
//--------------------------------------------------------------------
-SfxMacro* SfxRequest::GetRecordingMacro()
-
-/* [Description]
-
- With this method it can be queried as to whether and to what <SfxMacro>
- the SfxRequests is being recorded.
-*/
-
-{
- return NULL;
-}
-
-//--------------------------------------------------------------------
-
com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > SfxRequest::GetMacroRecorder( SfxViewFrame* pView )
/* [Description]