Menu

#11 CIFXAuthorLineSet dosen't have IFXModifier interface.

open
nobody
None
5
2007-09-19
2007-09-19
Anonymous
No

1. CIFXAuthorLineSet.cpp
CIFXAuthorLineSet::QueryInterface()

I think the following code is wrong.

if ( interfaceId == IID_IFXModifier )
{
*ppInterface = ( IFXModifier* )this;
}
else if ( interfaceId == IID_IFXMarker)
{
*ppInterface = ( IFXMarker* )this;
}
else if ( interfaceId == IID_IFXMetaDataX )
{
*ppInterface = ( IFXMetaDataX* )this;
}

2. IFXModifierBaseDecoder.cpp
IFXModifierBaseDecoder::ProcessChainX()

I think the following code is wrong.

// Create a line set generator for generator palette
IFXCHECKX(IFXCreateComponent(
CID_IFXAuthorLineSet,
IID_IFXModifier,
(void**)&pHeadModifier));

Discussion


Log in to post a comment.