diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-22 21:51:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-23 10:35:44 +0100 |
commit | 43f8cba7d238e6db25e05edd0d9713dcc42fc861 (patch) | |
tree | 797d2e5aeae4d288a143e7483997538758ea7af9 /sfx2/source/control/macro.cxx | |
parent | 6c1e8719013b47ff3d3954173a17e49f3a361009 (diff) |
callcatcher: yet more unused code
Diffstat (limited to 'sfx2/source/control/macro.cxx')
-rw-r--r-- | sfx2/source/control/macro.cxx | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sfx2/source/control/macro.cxx b/sfx2/source/control/macro.cxx index d14ac4b7790f..d3edf45f9408 100644 --- a/sfx2/source/control/macro.cxx +++ b/sfx2/source/control/macro.cxx @@ -443,7 +443,6 @@ void SfxMacro::Record <SfxMacro::Replace(SfxMacroStatement*)> <SfxMacro::Remove()> - <SfxMacro::GetLastStatement()const> */ { @@ -482,7 +481,6 @@ void SfxMacro::Replace <SfxMacro::Record(SfxMacroStatement*)> <SfxMacro::Remove()> - <SfxMacro::GetLastStatement()const> */ { @@ -519,7 +517,6 @@ void SfxMacro::Remove() <SfxMacro::Replace(SfxMacroStatement*)> <SfxMacro::Record(SfxMacroStatement*)> - <SfxMacro::GetLastStatement()const> */ { @@ -530,33 +527,6 @@ void SfxMacro::Remove() //-------------------------------------------------------------------- -const SfxMacroStatement* SfxMacro::GetLastStatement() const - -/* [Description] - - This method enables read access to the last recorded statement. - Together with the method <SfxMacro::Replace(SfxMacroStatement*)> this opens - for the possibility to summarize statements. - - The call is only valid if it is about a SfxMacro, which was constructed - with SFX_MACRO_RECORDINGRELATIVE or SFX_MACRO_RECORDINGABSOLUTE and is - available as an already recorded statement. - - [Cross-reference] - - <SfxMacro::Record(SfxMacroStatement*)> - <SfxMacro::Replace(SfxMacroStatement*)> -*/ - -{ - DBG_ASSERT( pImp->eMode != SFX_MACRO_EXISTING, "invalid call to non-recording SfxMacro" ); - if ( pImp->aList.Count() ) - return pImp->aList.GetObject( pImp->aList.Count() - 1 ); - return 0; -} - -//-------------------------------------------------------------------- - String SfxMacro::GenerateSource() const /* [Description] |