summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-08 10:40:25 (GMT)
committerCaolán McNamara <caolanm@redhat.com>2011-08-08 12:04:44 (GMT)
commitaa4bcd28eeb92fc35024d1a4800eb8252d547944 (patch)
treea84cac021ab40e02a2d3d53c69fbdd6282bce08e
parentb89c51452be240a74a0bc98943599ab62311d2b4 (diff)
callcatcher: remove various unused methods
-rw-r--r--lotuswordpro/source/filter/bencont.cxx43
-rw-r--r--lotuswordpro/source/filter/bento.hxx1
2 files changed, 0 insertions, 44 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx
index 88d5e5b..d1381fb 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 914670d..987b643 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);