diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-10 00:07:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 09:04:33 +0100 |
commit | 5154768e8761e13f9bc3afa1713bb2fd1ab041e8 (patch) | |
tree | e5cd12a870140070b8f0cc3591609b9dc77cfe77 /sfx2 | |
parent | 322220d8cfa7ba7821cb843f7cd20116bc5551c3 (diff) |
callcatcher: remove unused SupportsCommandGroup
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/sfxbasecontroller.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/view/sfxbasecontroller.cxx | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sfx2/inc/sfx2/sfxbasecontroller.hxx b/sfx2/inc/sfx2/sfxbasecontroller.hxx index cd0f1e8ce50d..96c7c6149193 100644 --- a/sfx2/inc/sfx2/sfxbasecontroller.hxx +++ b/sfx2/inc/sfx2/sfxbasecontroller.hxx @@ -88,7 +88,6 @@ struct IMPL_SfxBaseController_DataContainer ; // impl. struct to hold memb class SfxViewFrame; sal_Int16 MapGroupIDToCommandGroup( sal_Int16 nGroupID ); -sal_Bool SupportsCommandGroup( sal_Int16 nCommandGroup ); sal_Int16 MapCommandGroupToGroupID( sal_Int16 nCommandGroup ); //________________________________________________________________________________________________________ diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx index 58f1cfa64676..02fc9eef6def 100644 --- a/sfx2/source/view/sfxbasecontroller.cxx +++ b/sfx2/source/view/sfxbasecontroller.cxx @@ -217,14 +217,6 @@ sal_Int16 MapCommandGroupToGroupID( sal_Int16 nCommandGroup ) return -1; } -sal_Bool SupportsCommandGroup( sal_Int16 nCommandGroup ) -{ - if (( nCommandGroup >= 0 ) && ( nCommandGroup <= MAX_COMMANDGROUP )) - return sal_True; - else - return sal_False; -} - sal_uInt32 Get10ThSec() { sal_uInt32 n10Ticks = 10 * (sal_uInt32)clock(); |