summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive2d/baseprimitive2d.cxx32
-rw-r--r--drawinglayer/source/primitive3d/baseprimitive3d.cxx10
2 files changed, 0 insertions, 42 deletions
diff --git a/drawinglayer/source/primitive2d/baseprimitive2d.cxx b/drawinglayer/source/primitive2d/baseprimitive2d.cxx
index 44008a227eea..5357688d092e 100644
--- a/drawinglayer/source/primitive2d/baseprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/baseprimitive2d.cxx
@@ -209,38 +209,6 @@ namespace drawinglayer
return (pA->operator==(*pB));
}
- bool arePrimitive2DSequencesEqual(const Primitive2DSequence& rA, const Primitive2DSequence& 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(!arePrimitive2DReferencesEqual(rA[a], rB[a]))
- {
- return false;
- }
- }
-
- return true;
- }
-
bool Primitive2DContainer::operator==(const Primitive2DContainer& rB) const
{
const bool bAHasElements(!empty());
diff --git a/drawinglayer/source/primitive3d/baseprimitive3d.cxx b/drawinglayer/source/primitive3d/baseprimitive3d.cxx
index 460883a13955..d9fc8ed6d27a 100644
--- a/drawinglayer/source/primitive3d/baseprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/baseprimitive3d.cxx
@@ -221,16 +221,6 @@ namespace drawinglayer
insert(end(), rSource.begin(), rSource.end());
}
- void Primitive3DContainer::append(Primitive3DContainer&& rSource)
- {
- size_t n = size();
- resize(n + rSource.size());
- for (size_t i = 0; i<rSource.size(); ++i)
- {
- (*this)[n + i] = std::move( rSource[i] );
- }
- }
-
} // end of namespace primitive3d
} // end of namespace drawinglayer