summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-07 13:21:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-07 13:21:29 +0000
commit60ea258057b0f11bbd511c19ee2832d7f039e169 (patch)
tree2b7419ebb1ce2ac208ee22a42cbb31a3ccdb72ee
parente505b16440d7d9db2ed375c023d78b388ac61469 (diff)
typename outside template
-rw-r--r--sw/source/ui/index/swuiidxmrk.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx
index 6ecced311f7b..e77847394e5f 100644
--- a/sw/source/ui/index/swuiidxmrk.cxx
+++ b/sw/source/ui/index/swuiidxmrk.cxx
@@ -256,16 +256,14 @@ void SwIndexMarkDlg::InitControls()
std::vector<String> aArr;
nCount = pSh->GetTOIKeys( TOI_PRIMARY, aArr );
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 );
- }
// read keywords secondary
nCount = pSh->GetTOIKeys( TOI_SECONDARY, aArr );
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 );
- }
UpdateLanguageDependenciesForPhoneticReading();