diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-18 09:37:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-12-21 10:20:31 +0200 |
commit | e18b08363a939b35e7f5dc435e606d2c62bddebd (patch) | |
tree | 6318e03a67fd2dfbbd29b88b3de36ad7e9fd6292 /drawinglayer/source/primitive2d/baseprimitive2d.cxx | |
parent | 20ff8cc5c3534d149b18b9776ab964324e70fdfd (diff) |
loplugin:unusedmethods
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
Diffstat (limited to 'drawinglayer/source/primitive2d/baseprimitive2d.cxx')
-rw-r--r-- | drawinglayer/source/primitive2d/baseprimitive2d.cxx | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/drawinglayer/source/primitive2d/baseprimitive2d.cxx b/drawinglayer/source/primitive2d/baseprimitive2d.cxx index b17fbb66a31e..44008a227eea 100644 --- a/drawinglayer/source/primitive2d/baseprimitive2d.cxx +++ b/drawinglayer/source/primitive2d/baseprimitive2d.cxx @@ -273,45 +273,6 @@ namespace drawinglayer return true; } - // concatenate sequence - void appendPrimitive2DSequenceToPrimitive2DSequence(Primitive2DSequence& rDest, const Primitive2DSequence& rSource) - { - if(rSource.hasElements()) - { - if(rDest.hasElements()) - { - const sal_Int32 nSourceCount(rSource.getLength()); - const sal_Int32 nDestCount(rDest.getLength()); - const sal_Int32 nTargetCount(nSourceCount + nDestCount); - sal_Int32 nInsertPos(nDestCount); - - rDest.realloc(nTargetCount); - - for(sal_Int32 a(0L); a < nSourceCount; a++) - { - if(rSource[a].is()) - { - rDest[nInsertPos++] = rSource[a]; - } - } - - if(nInsertPos != nTargetCount) - { - rDest.realloc(nInsertPos); - } - } - else - { - rDest = rSource; - } - } - } - - void appendPrimitive2DSequenceToPrimitive2DSequence(Primitive2DSequence& rDest, const Primitive2DContainer& rSource) - { - appendPrimitive2DSequenceToPrimitive2DSequence(rDest, comphelper::containerToSequence(rSource)); - } - void Primitive2DContainer::append(const Primitive2DContainer& rSource) { insert(end(), rSource.begin(), rSource.end()); @@ -332,17 +293,6 @@ namespace drawinglayer std::copy(rSource.begin(), rSource.end(), std::back_inserter(*this)); } - // concatenate single Primitive2D - void appendPrimitive2DReferenceToPrimitive2DSequence(Primitive2DSequence& rDest, const Primitive2DReference& rSource) - { - if(rSource.is()) - { - const sal_Int32 nDestCount(rDest.getLength()); - rDest.realloc(nDestCount + 1L); - rDest[nDestCount] = rSource; - } - } - OUString idToString(sal_uInt32 nId) { switch( nId ) |