diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-07-11 15:42:48 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-07-12 00:59:54 +0200 |
commit | 07924e674e03ea7301c6f635a416120a37c6f4c6 (patch) | |
tree | af721886523fc7f080d8e7338f372ac7438a2989 /svl | |
parent | bbf795bf546f6510a8cf972d8f023b0cae178a72 (diff) |
callcatcher: remove unused INetURLHistory_Impl::heapsort
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/misc/inethist.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/svl/source/misc/inethist.cxx b/svl/source/misc/inethist.cxx index eba1e4083d38..a0f6b8772a66 100644 --- a/svl/source/misc/inethist.cxx +++ b/svl/source/misc/inethist.cxx @@ -157,7 +157,6 @@ class INetURLHistory_Impl void initialize (void); void downheap (hash_entry a[], sal_uInt16 n, sal_uInt16 k); - void heapsort (hash_entry a[], sal_uInt16 n); /** capacity. */ @@ -275,25 +274,6 @@ void INetURLHistory_Impl::downheap (hash_entry a[], sal_uInt16 n, sal_uInt16 k) } /* - * heapsort. - */ -void INetURLHistory_Impl::heapsort (hash_entry a[], sal_uInt16 n) -{ - hash_entry h; - - for (sal_uInt16 k = (n - 1) / 2 + 1; k > 0; k--) - downheap (a, n, k - 1); - - while (n > 0) - { - h = a[0 ]; - a[0 ] = a[n - 1]; - a[n - 1] = h; - downheap (a, --n, 0); - } -} - -/* * find. */ sal_uInt16 INetURLHistory_Impl::find (sal_uInt32 nHash) const |