diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-17 09:00:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-17 11:33:16 +0000 |
commit | bcc25a6d8ab411fe62f935cbb302eb1924274ae8 (patch) | |
tree | 2e959c77886cb74f772aff0eee8ebff64ba521e0 /basegfx | |
parent | bd8851e3193692357165bf065de6e9a0b9fd726c (diff) |
callcatcher: remove recently unused code
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/inc/basegfx/range/b2dpolyrange.hxx | 3 | ||||
-rw-r--r-- | basegfx/source/range/b2dpolyrange.cxx | 16 | ||||
-rw-r--r-- | basegfx/source/tools/b2dclipstate.cxx | 20 |
3 files changed, 0 insertions, 39 deletions
diff --git a/basegfx/inc/basegfx/range/b2dpolyrange.hxx b/basegfx/inc/basegfx/range/b2dpolyrange.hxx index 6cb95a49bc58..205085354111 100644 --- a/basegfx/inc/basegfx/range/b2dpolyrange.hxx +++ b/basegfx/inc/basegfx/range/b2dpolyrange.hxx @@ -81,9 +81,6 @@ namespace basegfx // insert/append a single range void appendElement(const B2DRange& rRange, B2VectorOrientation eOrient, sal_uInt32 nCount = 1); - // insert/append multiple ranges - void appendPolyRange(const B2DPolyRange&); - void clear(); /** Test whether given range overlaps one or more of the diff --git a/basegfx/source/range/b2dpolyrange.cxx b/basegfx/source/range/b2dpolyrange.cxx index 6046f488150d..0cd3abde3f22 100644 --- a/basegfx/source/range/b2dpolyrange.cxx +++ b/basegfx/source/range/b2dpolyrange.cxx @@ -90,17 +90,6 @@ namespace basegfx maBounds.expand(rRange); } - void appendPolyRange(const ImplB2DPolyRange& rPolyRange) - { - maRanges.insert(maRanges.end(), - rPolyRange.maRanges.begin(), - rPolyRange.maRanges.end()); - maOrient.insert(maOrient.end(), - rPolyRange.maOrient.begin(), - rPolyRange.maOrient.end()); - updateBounds(); - } - void clear() { std::vector<B2DRange> aTmpRanges; @@ -181,11 +170,6 @@ namespace basegfx mpImpl->appendElement(rRange, eOrient, nCount ); } - void B2DPolyRange::appendPolyRange(const B2DPolyRange& rRange) - { - mpImpl->appendPolyRange(*rRange.mpImpl); - } - void B2DPolyRange::clear() { mpImpl->clear(); diff --git a/basegfx/source/tools/b2dclipstate.cxx b/basegfx/source/tools/b2dclipstate.cxx index 963dd39f6785..9a46e2f5c17c 100644 --- a/basegfx/source/tools/b2dclipstate.cxx +++ b/basegfx/source/tools/b2dclipstate.cxx @@ -132,26 +132,6 @@ namespace tools maPendingPolygons.append(aPoly); } - void addClipState(const ImplB2DClipState& rOther, Operation eOp) - { - if( rOther.mePendingOps == mePendingOps - && !rOther.maClipPoly.count() - && !rOther.maPendingPolygons.count() ) - { - maPendingRanges.appendPolyRange( rOther.maPendingRanges ); - } - else - { - commitPendingRanges(); - commitPendingPolygons(); - rOther.commitPendingRanges(); - rOther.commitPendingPolygons(); - - maPendingPolygons = rOther.maClipPoly; - mePendingOps = eOp; - } - } - void unionRange(const B2DRange& rRange) { if( isCleared() ) |