summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-12-15 13:14:02 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-12-15 13:14:02 +0100
commit0a8e78a21e59ea72739688cf8dab7e3895507139 (patch)
treeaa66c050fa30a21f9e569a7f46c5df884595a25b /drawinglayer
parente3d2e376426b5237ded121d172324ef4ced5c3e0 (diff)
loplugin:unreffun
Change-Id: Ic741021b18b4064cb74786fc3d40fadf8eb85ab7
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/primitive3d/baseprimitive3d.cxx34
1 files changed, 0 insertions, 34 deletions
diff --git a/drawinglayer/source/primitive3d/baseprimitive3d.cxx b/drawinglayer/source/primitive3d/baseprimitive3d.cxx
index 20c49750300e..1998a74deee2 100644
--- a/drawinglayer/source/primitive3d/baseprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/baseprimitive3d.cxx
@@ -248,40 +248,6 @@ namespace drawinglayer
return true;
}
- // concatenate sequence
- void appendPrimitive3DContainerToPrimitive3DSequence(Primitive3DSequence& rDest, const Primitive3DSequence& 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 Primitive3DContainer::append(const Primitive3DContainer& rSource)
{
insert(end(), rSource.begin(), rSource.end());