diff options
Diffstat (limited to 'cui/source')
-rw-r--r-- | cui/source/customize/cfgutil.cxx | 18 | ||||
-rw-r--r-- | cui/source/inc/cfgutil.hxx | 1 |
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); }; |