summaryrefslogtreecommitdiffstats
path: root/src/document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/document.cpp')
-rw-r--r--src/document.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/document.cpp b/src/document.cpp
index 2d051a7..178b9e8 100644
--- a/src/document.cpp
+++ b/src/document.cpp
@@ -411,7 +411,7 @@ void Document::unMergeCollection(CollPtr coll_, FieldVec origFields_, MergePair
// don't removeField() until after removeEntry() is done
FieldVec currFields = m_coll->fields();
for(FieldVec::Iterator field = currFields.begin(); field != currFields.end(); ++field) {
- if(origFieldNames.tqfindIndex(field->name()) == -1) {
+ if(origFieldNames.findIndex(field->name()) == -1) {
m_coll->removeField(field);
}
}