diff options
Diffstat (limited to 'drawinglayer/source/primitive3d/baseprimitive3d.cxx')
| -rw-r--r-- | drawinglayer/source/primitive3d/baseprimitive3d.cxx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/drawinglayer/source/primitive3d/baseprimitive3d.cxx b/drawinglayer/source/primitive3d/baseprimitive3d.cxx index 1998a74deee2..460883a13955 100644 --- a/drawinglayer/source/primitive3d/baseprimitive3d.cxx +++ b/drawinglayer/source/primitive3d/baseprimitive3d.cxx @@ -184,38 +184,6 @@ namespace drawinglayer return (pA->operator==(*pB)); } - bool arePrimitive3DSequencesEqual(const Primitive3DSequence& rA, const Primitive3DSequence& rB) - { - const bool bAHasElements(rA.hasElements()); - - if(bAHasElements != rB.hasElements()) - { - return false; - } - - if(!bAHasElements) - { - return true; - } - - const sal_Int32 nCount(rA.getLength()); - - if(nCount != rB.getLength()) - { - return false; - } - - for(sal_Int32 a(0L); a < nCount; a++) - { - if(!arePrimitive3DReferencesEqual(rA[a], rB[a])) - { - return false; - } - } - - return true; - } - bool Primitive3DContainer::operator==(const Primitive3DContainer& rB) const { const bool bAHasElements(!empty()); @@ -263,17 +231,6 @@ namespace drawinglayer } } - // concatenate single Primitive3D - void appendPrimitive3DReferenceToPrimitive3DSequence(Primitive3DSequence& rDest, const Primitive3DReference& rSource) - { - if(rSource.is()) - { - const sal_Int32 nDestCount(rDest.getLength()); - rDest.realloc(nDestCount + 1L); - rDest[nDestCount] = rSource; - } - } - } // end of namespace primitive3d } // end of namespace drawinglayer |
