diff options
author | Noel Grandin <noel@peralex.com> | 2012-08-14 11:31:08 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-16 15:14:57 +0200 |
commit | 02d23c2c6696b440f1ec033d8bee39744c2bb2ad (patch) | |
tree | fd1bd998ce6e54fb91e6d1fb8250c71275a33267 /svx | |
parent | 62035e55b4128a5bf391c45160e0be5347fa23ae (diff) |
Remove unused class UShortCont
Change-Id: I4b716aca20b2e7e328b9f6cb9e9c980fd0e7a87f
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svx/svdetc.hxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/svx/inc/svx/svdetc.hxx b/svx/inc/svx/svdetc.hxx index 85690efbad5e..1ac93a383b4b 100644 --- a/svx/inc/svx/svdetc.hxx +++ b/svx/inc/svx/svdetc.hxx @@ -119,20 +119,6 @@ class SfxItemSet; // Bei XFILL_NONE gibt's sal_False und rCol bleibt unveraendert. SVX_DLLPUBLIC bool GetDraftFillColor(const SfxItemSet& rSet, Color& rCol); -// Ein Container fuer USHORTs (im Prinzip ein dynamisches Array) -class UShortCont { - Container aArr; -public: - UShortCont(sal_uInt16 nBlock, sal_uInt16 nInit, sal_uInt16 nResize): aArr(nBlock,nInit,nResize) {} - void Clear() { aArr.Clear(); } - void Insert(sal_uInt16 nElem, sal_uIntPtr nPos=CONTAINER_APPEND) { aArr.Insert((void*)sal_uIntPtr(nElem),nPos); } - void Remove(sal_uIntPtr nPos) { aArr.Remove(nPos); } - void Replace(sal_uInt16 nElem, sal_uIntPtr nPos) { aArr.Replace((void*)sal_uIntPtr(nElem),nPos); } - sal_uInt16 GetObject(sal_uIntPtr nPos) const { return sal_uInt16(sal_uIntPtr(aArr.GetObject(nPos))); } - sal_uIntPtr GetPos(sal_uInt16 nElem) const { return aArr.GetPos((void*)(sal_uIntPtr)nElem); } - sal_uIntPtr GetCount() const { return aArr.Count(); } -}; - class ContainerSorter { protected: Container& rCont; |