Author: hdu
Date: Wed Nov 27 06:55:29 2013
New Revision: 1545941

URL: http://svn.apache.org/r1545941
Log:
#i123755# adjust kernpair hashmap resize() to rehash()

Modified:
    openoffice/trunk/main/vcl/unx/generic/gdi/salgdi3.cxx

Modified: openoffice/trunk/main/vcl/unx/generic/gdi/salgdi3.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/unx/generic/gdi/salgdi3.cxx?rev=1545941&r1=1545940&r2=1545941&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/unx/generic/gdi/salgdi3.cxx (original)
+++ openoffice/trunk/main/vcl/unx/generic/gdi/salgdi3.cxx Wed Nov 27 06:55:29 
2013
@@ -131,7 +131,7 @@ void PspKernInfo::Initialize() const
         return;
 
     // feed psprint's kerning list into a lookup-friendly container
-    maUnicodeKernPairs.resize( rKernPairs.size() );
+    maUnicodeKernPairs.rehash( rKernPairs.size() );
     PspKernPairs::const_iterator it = rKernPairs.begin();
     for(; it != rKernPairs.end(); ++it )
     {


Reply via email to