Author: hdu
Date: Wed Nov 27 07:17:44 2013
New Revision: 1545947

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

Modified:
    openoffice/trunk/main/vcl/unx/headless/svptext.cxx

Modified: openoffice/trunk/main/vcl/unx/headless/svptext.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/unx/headless/svptext.cxx?rev=1545947&r1=1545946&r2=1545947&view=diff
==============================================================================
--- openoffice/trunk/main/vcl/unx/headless/svptext.cxx (original)
+++ openoffice/trunk/main/vcl/unx/headless/svptext.cxx Wed Nov 27 07:17:44 2013
@@ -189,7 +189,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