summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-10 01:05:02 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-11 09:04:34 +0100
commit6b45ed9a0a584c4e886df817492454725791a10d (patch)
tree68d8190e6bb7321b7cffc88687ca3d9f7c14cbab
parent7de871740273ce57d92a1bf20505431bf2a53804 (diff)
callcatcher: remove MapCommandGroupToGroupID
-rw-r--r--sfx2/inc/sfx2/sfxbasecontroller.hxx1
-rw-r--r--sfx2/source/view/sfxbasecontroller.cxx13
2 files changed, 0 insertions, 14 deletions
diff --git a/sfx2/inc/sfx2/sfxbasecontroller.hxx b/sfx2/inc/sfx2/sfxbasecontroller.hxx
index 96c7c6149193..b1553f1e06be 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_Int16 MapCommandGroupToGroupID( sal_Int16 nCommandGroup );
//________________________________________________________________________________________________________
// class declarations
diff --git a/sfx2/source/view/sfxbasecontroller.cxx b/sfx2/source/view/sfxbasecontroller.cxx
index 02fc9eef6def..b5209e2870a7 100644
--- a/sfx2/source/view/sfxbasecontroller.cxx
+++ b/sfx2/source/view/sfxbasecontroller.cxx
@@ -204,19 +204,6 @@ sal_Int16 MapGroupIDToCommandGroup( sal_Int16 nGroupID )
return com::sun::star::frame::CommandGroup::INTERNAL;
}
-sal_Int16 MapCommandGroupToGroupID( sal_Int16 nCommandGroup )
-{
- sal_Int32 i = 0;
- while ( GroupIDCommandGroupMap[i].nGroupID != 0 )
- {
- if ( GroupIDCommandGroupMap[i].nCommandGroup == nCommandGroup )
- return GroupIDCommandGroupMap[i].nGroupID;
- ++i;
- }
-
- return -1;
-}
-
sal_uInt32 Get10ThSec()
{
sal_uInt32 n10Ticks = 10 * (sal_uInt32)clock();