diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-09-10 23:24:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-09-12 09:10:00 +0100 |
commit | 9d5fcd70e1bfdb66bb3e8ee7005ac723f1a5061f (patch) | |
tree | e6fdd8a809a601e392d7c7e5fb9491d045992c60 /sfx2 | |
parent | d7842b76d8fdef15a1019c99af322c0ae37cb8db (diff) |
SfxMacro arg unused
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/macro.hxx | 3 | ||||
-rw-r--r-- | sfx2/source/control/macro.cxx | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sfx2/inc/macro.hxx b/sfx2/inc/macro.hxx index 9b5146fd15df..09a6a344bc3d 100644 --- a/sfx2/inc/macro.hxx +++ b/sfx2/inc/macro.hxx @@ -25,8 +25,7 @@ class SfxMacroStatement #ifdef _SFXMACRO_HXX private: - void GenerateNameAndArgs_Impl( SfxMacro *pMacro, - const SfxSlot &rSlot, + void GenerateNameAndArgs_Impl( const SfxSlot &rSlot, sal_Bool bRequestDone, ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& aArgs ); #endif diff --git a/sfx2/source/control/macro.cxx b/sfx2/source/control/macro.cxx index 26f6abc4c4ab..401604271c76 100644 --- a/sfx2/source/control/macro.cxx +++ b/sfx2/source/control/macro.cxx @@ -127,7 +127,7 @@ SfxMacroStatement::SfxMacroStatement aStatement = DEFINE_CONST_UNICODE("Selection"); // to these object expression of the Method-/Property-Name and parameters - GenerateNameAndArgs_Impl( SfxRequest::GetRecordingMacro(), rSlot, bRequestDone, aArgs); + GenerateNameAndArgs_Impl( rSlot, bRequestDone, aArgs); } //-------------------------------------------------------------------- @@ -156,7 +156,7 @@ SfxMacroStatement::SfxMacroStatement { aStatement = rTarget; aStatement += '.'; - GenerateNameAndArgs_Impl( SfxRequest::GetRecordingMacro(), rSlot, bRequestDone, aArgs); + GenerateNameAndArgs_Impl( rSlot, bRequestDone, aArgs); } //-------------------------------------------------------------------- @@ -224,7 +224,6 @@ SfxMacroStatement::~SfxMacroStatement() void SfxMacroStatement::GenerateNameAndArgs_Impl ( - SfxMacro* /*pMacro*/, // in this is recorded const SfxSlot& rSlot, // the slot, which can playback the statement sal_Bool bRequestDone, // TRUE=was executed, FALSE=cancelled ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& /*rArgs*/ |