diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-28 22:47:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-29 10:56:42 +0100 |
commit | 990083e87531999f7c3d2c34c8205ce63bf294aa (patch) | |
tree | 8a6c06aa155b8283c0f54a5292f13944dcc99673 /tools/source/ref | |
parent | c717737c20edcbfdcf4a4c5f75a1e2b9540e5b6a (diff) |
callcatcher: ditch various unused methods
Diffstat (limited to 'tools/source/ref')
-rw-r--r-- | tools/source/ref/globname.cxx | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/tools/source/ref/globname.cxx b/tools/source/ref/globname.cxx index e7f30b9d50df..b4256faf3bfd 100644 --- a/tools/source/ref/globname.cxx +++ b/tools/source/ref/globname.cxx @@ -406,65 +406,6 @@ String SvGlobalName::GetHexName() const return rtl::OStringToOUString(aHexBuffer.makeStringAndClear(), RTL_TEXTENCODING_ASCII_US); } -/************** SvGlobalNameList ****************************************/ -/************************************************************************/ -/************************************************************************* -|* SvGlobalNameList::SvGlobalNameList() -*************************************************************************/ -SvGlobalNameList::SvGlobalNameList() -{ -} - -/************************************************************************* -|* SvGlobalNameList::~SvGlobalNameList() -*************************************************************************/ -SvGlobalNameList::~SvGlobalNameList() -{ - ImpSvGlobalName *pImp = 0; - std::vector<ImpSvGlobalName*>::iterator piter; - - for (piter = aList.begin(); piter != aList.end(); ++piter) - { - pImp = *piter; - - --pImp->nRefCount; - if( !pImp->nRefCount ) - delete pImp; - } -} - -/************************************************************************* -|* SvGlobalNameList::Append() -*************************************************************************/ -void SvGlobalNameList::Append( const SvGlobalName & rName ) -{ - rName.pImp->nRefCount++; - aList.push_back(rName.pImp); -} - -/************************************************************************* -|* SvGlobalNameList::GetObject() -*************************************************************************/ -SvGlobalName SvGlobalNameList::GetObject( sal_uLong nPos ) -{ - return SvGlobalName(nPos < aList.size() ? aList[nPos] : NULL); -} - -/************************************************************************* -|* SvGlobalNameList::IsEntry() -*************************************************************************/ -sal_Bool SvGlobalNameList::IsEntry( const SvGlobalName & rName ) -{ - std::vector<ImpSvGlobalName*>::iterator piter; - for (piter = aList.begin(); piter != aList.end(); ++piter) - { - if (*rName.pImp == *(*piter)) - return sal_True; - } - - return sal_False; -} - com::sun::star::uno::Sequence < sal_Int8 > SvGlobalName::GetByteSequence() const { // platform independent representation of a "GlobalName" |