summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/bencont.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-18 00:56:28 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-18 09:16:28 +0100
commitb48a6f14e5fff7ec8f2a9f9fcf49a035b7287c97 (patch)
tree6591bd060485537467558df50f14bb4ca2718e6d /lotuswordpro/source/filter/bencont.cxx
parentf0cb9d723ed4b561ec771abbb9f1888c66ba348e (diff)
callcatcher: unused code
Diffstat (limited to 'lotuswordpro/source/filter/bencont.cxx')
-rw-r--r--lotuswordpro/source/filter/bencont.cxx69
1 files changed, 0 insertions, 69 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx
index 6a68f2c6f6e0..f19535b361ca 100644
--- a/lotuswordpro/source/filter/bencont.cxx
+++ b/lotuswordpro/source/filter/bencont.cxx
@@ -113,12 +113,6 @@ LtcBenContainer::Open() // delete two inputs
return BenErr_OK;
}
-void
-LtcBenContainer::Release()
-{
- delete this;
-}
-
BenError
LtcBenContainer::RegisterPropertyName(const char * sPropertyName,
pCBenPropertyName * ppPropertyName)
@@ -148,34 +142,6 @@ LtcBenContainer::RegisterPropertyName(const char * sPropertyName,
}
BenError
-LtcBenContainer::RegisterTypeName(const char * sTypeName,
- pCBenTypeName * ppTypeName)
-{
- pCBenNamedObjectListElmt pPrevNamedObjectListElmt;
- pCBenNamedObject pNamedObject = FindNamedObject(&cNamedObjects, sTypeName,
- &pPrevNamedObjectListElmt);
-
- if (pNamedObject != NULL)
- {
- if (! pNamedObject->IsTypeName())
- return BenErr_NameConflict;
- else *ppTypeName = (pCBenTypeName) pNamedObject;
- }
- else
- {
- pCBenIDListElmt pPrevObject;
- if (FindID(&cObjects, cNextAvailObjectID, &pPrevObject) != NULL)
- return BenErr_DuplicateObjectID;
-
- *ppTypeName = new CBenTypeName(this, cNextAvailObjectID,
- (pCBenObject) pPrevObject, sTypeName, pPrevNamedObjectListElmt);
- ++cNextAvailObjectID;
- }
-
- return BenErr_OK;
-}
-
-BenError
LtcBenContainer::NewObject(pCBenObject * ppBenObject)
{
pCBenIDListElmt pPrev;
@@ -280,17 +246,6 @@ BenError LtcBenContainer::SeekFromEnd(long Offset)
return BenErr_OK;
}
/**
-* Get position in the bento file
-* @date 07/05/2004
-* @param pointer of current position in container file from end
-* @return BenError
-*/
-BenError LtcBenContainer::GetPosition(BenContainerPos * pPosition)
-{
- *pPosition = cpStream->Tell();
- return BenErr_OK;
-}
-/**
* Find the next value stream with property name
* @date 07/05/2004
* @param string of property name
@@ -338,30 +293,6 @@ LtcUtBenValueStream * LtcBenContainer::FindValueStreamWithPropertyName(const cha
return FindNextValueStreamWithPropertyName(sPropertyName, NULL);
}
/**
-* Find the unique value stream with property name and Object ID
-* @date 10/24/2005
-* @param object ID
-* @param string of property name
-* @return the only value stream pointer with the property names
-*/
-LtcUtBenValueStream * LtcBenContainer::FindObjectValueStreamWithObjectIDAndProperty(BenObjectID ObjectID, const char * sPropertyName)
-{
- CBenPropertyName * pPropertyName;
- RegisterPropertyName(sPropertyName, &pPropertyName); // Get property name object
- if (NULL == pPropertyName)
- return NULL; // Property not exist
- // Get current object
- CBenObject * pObj = NULL;
- pObj = FindObject(ObjectID); // Get object with object ID
- if (NULL == pObj)
- return NULL;
- CBenValue * pValue;
- LtcUtBenValueStream * pValueStream;
- pValue = pObj->UseValue(pPropertyName->GetID());
- pValueStream = new LtcUtBenValueStream(pValue);
- return pValueStream;
-}
-/**
* <description>
* @date 07/05/2004
* @param pointer to length of bento file