reszip/src/resdict.cpp
branchRCL_3
changeset 18 44d14dfed84d
parent 9 7c80ebddf816
child 19 01fc9b7302d1
equal deleted inserted replaced
17:046e2c4dbfd0 18:44d14dfed84d
    46 	{
    46 	{
    47 	return ((iUses + iRef - 1) * (Data().Length()-1));
    47 	return ((iUses + iRef - 1) * (Data().Length()-1));
    48 	}
    48 	}
    49 
    49 
    50 
    50 
    51 void TDictEntry::CreateEmbeddedDictL(TInt aDictIndex,CDictArray* aDict)
    51 void TDictEntry::CreateEmbeddedDict(TInt aDictIndex,CDictArray* aDict)
    52 	{
    52 	{
    53 	// Create list of embedded dictionary strings
    53 	// Create list of embedded dictionary strings
    54 	iEmbedded = new(ELeave)CResEntry(aDict);
    54 	iEmbedded = new(ELeave)CResEntry(aDict);
    55 	iEmbedded->AddPlainDataL((TUint8*)iData.Ptr(), iData.Length());
    55 	iEmbedded->AddPlainDataL((TUint8*)iData.Ptr(), iData.Length());
    56 	iEmbedded->MatchDictL(aDictIndex);
    56 	iEmbedded->MatchDictL(aDictIndex);