Kaydet (Commit) ec653233 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i123755# adjust kernpair hashmap resize() to rehash()

üst e215b94a
...@@ -131,7 +131,7 @@ void PspKernInfo::Initialize() const ...@@ -131,7 +131,7 @@ void PspKernInfo::Initialize() const
return; return;
// feed psprint's kerning list into a lookup-friendly container // feed psprint's kerning list into a lookup-friendly container
maUnicodeKernPairs.resize( rKernPairs.size() ); maUnicodeKernPairs.rehash( rKernPairs.size() );
PspKernPairs::const_iterator it = rKernPairs.begin(); PspKernPairs::const_iterator it = rKernPairs.begin();
for(; it != rKernPairs.end(); ++it ) for(; it != rKernPairs.end(); ++it )
{ {
......
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