summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-31 10:12:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-31 11:30:48 +0000
commitb0f4052cf2f4924251a835470c78aa85f8da93f1 (patch)
tree15f92d71c3206df110a22a88411b4f541ad11c47 /cui
parenta852c0284f7e4232078b085446ebc7b3a2c33bc2 (diff)
callcatcher: update unused code list
Change-Id: I6a935ced687b1076dfdd6c6ae0cf3bce1fc6adbd
Diffstat (limited to 'cui')
-rw-r--r--cui/source/customize/cfgutil.cxx18
-rw-r--r--cui/source/inc/cfgutil.hxx1
2 files changed, 0 insertions, 19 deletions
diff --git a/cui/source/customize/cfgutil.cxx b/cui/source/customize/cfgutil.cxx
index 3b0344c1a3f0..7508e0b8cb11 100644
--- a/cui/source/customize/cfgutil.cxx
+++ b/cui/source/customize/cfgutil.cxx
@@ -443,24 +443,6 @@ void SfxConfigGroupListBox_Impl::SetStylesInfo(SfxStylesInfo_Impl* pStyles)
pStylesInfo = pStyles;
}
-String SfxConfigGroupListBox_Impl::GetGroup()
-/* Description
- Returns the name of the selected function group/the selected basic.
-*/
-{
- SvTreeListEntry *pEntry = FirstSelected();
- while ( pEntry )
- {
- SfxGroupInfo_Impl *pInfo = (SfxGroupInfo_Impl*) pEntry->GetUserData();
- if ( pInfo->nKind == SFX_CFGGROUP_FUNCTION )
- return GetEntryText( pEntry );
-
- pEntry = GetParent( pEntry );
- }
-
- return String();
-}
-
//-----------------------------------------------
void SfxConfigGroupListBox_Impl::InitModule()
{
diff --git a/cui/source/inc/cfgutil.hxx b/cui/source/inc/cfgutil.hxx
index a67548437524..3f9492f649be 100644
--- a/cui/source/inc/cfgutil.hxx
+++ b/cui/source/inc/cfgutil.hxx
@@ -181,7 +181,6 @@ public:
void GroupSelected();
void SelectMacro( const SfxMacroInfoItem* );
void SelectMacro( const String&, const String& );
- String GetGroup();
void SetStylesInfo(SfxStylesInfo_Impl* pStyles);
};