Kaydet (Commit) 9d5fcd70 authored tarafından Caolán McNamara's avatar Caolán McNamara

SfxMacro arg unused

üst d7842b76
...@@ -25,8 +25,7 @@ class SfxMacroStatement ...@@ -25,8 +25,7 @@ class SfxMacroStatement
#ifdef _SFXMACRO_HXX #ifdef _SFXMACRO_HXX
private: private:
void GenerateNameAndArgs_Impl( SfxMacro *pMacro, void GenerateNameAndArgs_Impl( const SfxSlot &rSlot,
const SfxSlot &rSlot,
sal_Bool bRequestDone, sal_Bool bRequestDone,
::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& aArgs ); ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& aArgs );
#endif #endif
......
...@@ -127,7 +127,7 @@ SfxMacroStatement::SfxMacroStatement ...@@ -127,7 +127,7 @@ SfxMacroStatement::SfxMacroStatement
aStatement = DEFINE_CONST_UNICODE("Selection"); aStatement = DEFINE_CONST_UNICODE("Selection");
// to these object expression of the Method-/Property-Name and parameters // 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 ...@@ -156,7 +156,7 @@ SfxMacroStatement::SfxMacroStatement
{ {
aStatement = rTarget; aStatement = rTarget;
aStatement += '.'; aStatement += '.';
GenerateNameAndArgs_Impl( SfxRequest::GetRecordingMacro(), rSlot, bRequestDone, aArgs); GenerateNameAndArgs_Impl( rSlot, bRequestDone, aArgs);
} }
//-------------------------------------------------------------------- //--------------------------------------------------------------------
...@@ -224,7 +224,6 @@ SfxMacroStatement::~SfxMacroStatement() ...@@ -224,7 +224,6 @@ SfxMacroStatement::~SfxMacroStatement()
void SfxMacroStatement::GenerateNameAndArgs_Impl void SfxMacroStatement::GenerateNameAndArgs_Impl
( (
SfxMacro* /*pMacro*/, // in this is recorded
const SfxSlot& rSlot, // the slot, which can playback the statement const SfxSlot& rSlot, // the slot, which can playback the statement
sal_Bool bRequestDone, // TRUE=was executed, FALSE=cancelled sal_Bool bRequestDone, // TRUE=was executed, FALSE=cancelled
::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& /*rArgs*/ ::com::sun::star::uno::Sequence < ::com::sun::star::beans::PropertyValue >& /*rArgs*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment