diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-14 14:49:53 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-16 15:14:57 +0200 |
commit | c8a68356b4c8f8f45405da8e76baeb38a930941f (patch) | |
tree | ccd497f0207cca8d7ee3af768ed0d92f8b9379f3 /svx | |
parent | Remove unused class UShortCont (diff) | |
download | core-c8a68356b4c8f8f45405da8e76baeb38a930941f.tar.gz core-c8a68356b4c8f8f45405da8e76baeb38a930941f.zip |
Remove unused class ImpUShortContainerSorter
Change-Id: I3d7a5c252c29654db7c37965af365380090f7eb6
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdetc.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx index fb3a18869f77..776f5265a2eb 100644 --- a/svx/source/svdraw/svdetc.cxx +++ b/svx/source/svdraw/svdetc.cxx @@ -270,22 +270,6 @@ void ContainerSorter::ImpSubSort(long nL, long nR) const //////////////////////////////////////////////////////////////////////////////////////////////////// -class ImpUShortContainerSorter: public ContainerSorter { -public: - ImpUShortContainerSorter(Container& rNewCont): ContainerSorter(rNewCont) {} - virtual ~ImpUShortContainerSorter() {} - virtual int Compare(const void* pElem1, const void* pElem2) const; -}; - -int ImpUShortContainerSorter::Compare(const void* pElem1, const void* pElem2) const -{ - sal_uInt16 n1=sal_uInt16(sal_uIntPtr(pElem1)); - sal_uInt16 n2=sal_uInt16(sal_uIntPtr(pElem2)); - return n1<n2 ? -1 : n1>n2 ? 1 : 0; -} - -//////////////////////////////////////////////////////////////////////////////////////////////////// - void SdrLinkList::Clear() { unsigned nAnz=GetLinkCount(); |