[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - vcl/unx
Herbert Dürr
hdu at apache.org
Wed Nov 27 00:10:35 PST 2013
vcl/unx/generic/gdi/salgdi3.cxx | 2 +-
vcl/unx/headless/svptext.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 1ef0a5008bec9d9bf17824ea78d4b2510d1903d5
Author: Herbert Dürr <hdu at apache.org>
Date: Wed Nov 27 07:17:44 2013 +0000
#i123755# adjust kernpair hashmap resize() to rehash()
diff --git a/vcl/unx/headless/svptext.cxx b/vcl/unx/headless/svptext.cxx
index e80b492..4fdad0a 100644
--- a/vcl/unx/headless/svptext.cxx
+++ b/vcl/unx/headless/svptext.cxx
@@ -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 )
{
commit ec653233c500478fe585e8f2b3482be7268a4584
Author: Herbert Dürr <hdu at apache.org>
Date: Wed Nov 27 06:55:29 2013 +0000
#i123755# adjust kernpair hashmap resize() to rehash()
diff --git a/vcl/unx/generic/gdi/salgdi3.cxx b/vcl/unx/generic/gdi/salgdi3.cxx
index 1d2f6fe..9288139 100644
--- a/vcl/unx/generic/gdi/salgdi3.cxx
+++ b/vcl/unx/generic/gdi/salgdi3.cxx
@@ -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 )
{
More information about the Libreoffice-commits
mailing list