diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-08 11:40:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-08 13:04:44 +0100 |
commit | aa4bcd28eeb92fc35024d1a4800eb8252d547944 (patch) | |
tree | a84cac021ab40e02a2d3d53c69fbdd6282bce08e /lotuswordpro/source | |
parent | b89c51452be240a74a0bc98943599ab62311d2b4 (diff) |
callcatcher: remove various unused methods
Diffstat (limited to 'lotuswordpro/source')
-rw-r--r-- | lotuswordpro/source/filter/bencont.cxx | 43 | ||||
-rw-r--r-- | lotuswordpro/source/filter/bento.hxx | 1 |
2 files changed, 0 insertions, 44 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx index 88d5e5b35920..d1381fbf5a2d 100644 --- a/lotuswordpro/source/filter/bencont.cxx +++ b/lotuswordpro/source/filter/bencont.cxx @@ -541,49 +541,6 @@ BenError LtcBenContainer::CreateGraphicStream(SvStream * &pStream, const char *p #include <tools/globname.hxx> -/** -* Find ole object storage stream data according to object name -* @date 10/24/2005 -* @param -* @return the value ole storage stream data pointers -*/ -LtcUtBenValueStream* LtcBenContainer::FindOLEStorageStreamWithObjectName(const char * sObjectName, AswEntry& rEntry) -{ - if (!sObjectName) - return NULL; - - //Find OleRootStorage stream - std::string aRootStroageName("OleRootStorage"); - std::string aOleStroageName("OleStorage"); - LtcUtBenValueStream* pRootStream = NULL; - pRootStream = FindValueStreamWithPropertyName(aRootStroageName.c_str()); - if(!pRootStream) - return NULL; - //Read root storage data and find the ole storage object id according to the object name - sal_uInt32 nDLen = 0; - nDLen = GetSvStreamSize(pRootStream); - for(sal_uInt32 nIndex = 0; nIndex < nDLen / ASWENTRY_SIZE; nIndex ++) - { - //Get entry - ReadAswEntry(pRootStream, rEntry); - String sObjName; - rEntry.GetName(sObjName); - if(sObjName.EqualsAscii(sObjectName)) - { - //Find it - delete pRootStream; - return FindObjectValueStreamWithObjectIDAndProperty(rEntry.GetObjectID(), aOleStroageName.c_str()); - } - } - - // Not find - if(pRootStream) - { - delete pRootStream; - } - - return NULL; -} void LtcBenContainer::ReadAswEntry(SvStream * pStream, AswEntry & rEntry) { char* pBuf = new char[ASWENTRY_SIZE]; diff --git a/lotuswordpro/source/filter/bento.hxx b/lotuswordpro/source/filter/bento.hxx index 914670d855c3..987b643a80c5 100644 --- a/lotuswordpro/source/filter/bento.hxx +++ b/lotuswordpro/source/filter/bento.hxx @@ -299,7 +299,6 @@ public: // Internal methods BenError CreateGraphicStreams(std::vector<SvStream *> * pStreamVector) ; BenError CreateGraphicStream(SvStream * &pStream, const char *pObjectName); - LtcUtBenValueStream * FindOLEStorageStreamWithObjectName(const char * sObjectName, AswEntry& rDirStruct); void ReadAswEntry(SvStream * pStream, AswEntry& rEntry); BenError GetSize(sal_uLong * pLength); |