Kaydet (Commit) 60ea2580 authored tarafından Caolán McNamara's avatar Caolán McNamara

typename outside template

üst e505b164
...@@ -256,16 +256,14 @@ void SwIndexMarkDlg::InitControls() ...@@ -256,16 +256,14 @@ void SwIndexMarkDlg::InitControls()
std::vector<String> aArr; std::vector<String> aArr;
nCount = pSh->GetTOIKeys( TOI_PRIMARY, aArr ); nCount = pSh->GetTOIKeys( TOI_PRIMARY, aArr );
std::sort(aArr.begin(), aArr.end()); std::sort(aArr.begin(), aArr.end());
for(typename std::vector<String>::iterator it = aArr.begin(); it != aArr.end(); ++it) { for (std::vector<String>::iterator it = aArr.begin(); it != aArr.end(); ++it)
aKeyDCB.InsertEntry( *it ); aKeyDCB.InsertEntry( *it );
}
// read keywords secondary // read keywords secondary
nCount = pSh->GetTOIKeys( TOI_SECONDARY, aArr ); nCount = pSh->GetTOIKeys( TOI_SECONDARY, aArr );
std::sort(aArr.begin(), aArr.end()); std::sort(aArr.begin(), aArr.end());
for(typename std::vector<String>::iterator it = aArr.begin(); it != aArr.end(); ++it) { for (std::vector<String>::iterator it = aArr.begin(); it != aArr.end(); ++it)
aKey2DCB.InsertEntry( *it ); aKey2DCB.InsertEntry( *it );
}
UpdateLanguageDependenciesForPhoneticReading(); UpdateLanguageDependenciesForPhoneticReading();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment