Changeset 11166
- Timestamp:
- 2008-09-03 14:43:27 (3 months ago)
- Location:
- branches/1.0/xapian-applications/omega
- Files:
-
- 2 modified
-
ChangeLog (modified) (1 diff)
-
omindex.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/xapian-applications/omega/ChangeLog
r11165 r11166 1 Wed Sep 03 13:43:24 GMT 2008 Olly Betts <olly@survex.com> 2 3 * Backport change from trunk: 4 * omindex.cc: Tweak to use string::assign() instead of assigning the 5 result of string::substr(). 6 1 7 Wed Sep 03 13:40:39 GMT 2008 Olly Betts <olly@survex.com> 2 8 -
branches/1.0/xapian-applications/omega/omindex.cc
r10803 r11166 158 158 end -= idx; 159 159 } 160 title = pdfinfo.substr(idx, end);160 title.assign(pdfinfo, idx, end); 161 161 } 162 162 … … 174 174 end -= idx; 175 175 } 176 keywords = pdfinfo.substr(idx, end);176 keywords.assign(pdfinfo, idx, end); 177 177 } 178 178 } catch (ReadError) {
