浏览代码

changed GetAt() to ElementAt() in 6.0 GetAt doesn't return the reference, ElementAt does -- SAB

git-svn-id: svn://svn.code.sf.net/p/ditto-cp/code/trunk@35 595ec19a-5cb4-439b-94a8-42fb3063c22c
sabrogden 22 年之前
父节点
当前提交
5586285258
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ProcessCopy.cpp

+ 2 - 2
ProcessCopy.cpp

@@ -84,7 +84,7 @@ CClipFormat* pCF;
 int count = GetSize();
 	for( int i=0; i < count; i++ )
 	{
-		pCF = &GetAt(i);
+		pCF = &ElementAt(i);
 		if( pCF->m_cfType == cfType )
 			return pCF;
 	}
@@ -477,7 +477,7 @@ bool CClip::AddToDataTable()
 
 		for( int i = m_Formats.GetSize()-1; i >= 0 ; i-- )
 		{
-			pCF = & m_Formats[i];
+			pCF = & m_Formats.ElementAt(i);
 
 			recset.AddNew();