summaryrefslogtreecommitdiff
path: root/basegfx/source/range
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-04 08:53:44 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-04 10:05:57 +0200
commit705d69a925d5723a5c0b2a62dd41f67f2fe8a217 (patch)
tree2e923fe035ba1a59acc0ebddcb8429f11050374f /basegfx/source/range
parentb323e635eefe093edbf463a9d117a17639e11127 (diff)
Clean up unreferenced functions
Change-Id: I5abc0e587cfd81f1f94c604cb58725a2f84ed33d
Diffstat (limited to 'basegfx/source/range')
-rw-r--r--basegfx/source/range/b2dpolyrange.cxx18
-rw-r--r--basegfx/source/range/b2drangeclipper.cxx1
2 files changed, 1 insertions, 18 deletions
diff --git a/basegfx/source/range/b2dpolyrange.cxx b/basegfx/source/range/b2dpolyrange.cxx
index 90a24d876b12..3722ca467bc3 100644
--- a/basegfx/source/range/b2dpolyrange.cxx
+++ b/basegfx/source/range/b2dpolyrange.cxx
@@ -33,18 +33,6 @@ namespace basegfx
{
class ImplB2DPolyRange
{
- void updateBounds()
- {
- maBounds.reset();
- std::for_each(maRanges.begin(),
- maRanges.end(),
- boost::bind(
- (void (B2DRange::*)(const B2DRange&))(
- &B2DRange::expand),
- boost::ref(maBounds),
- _1));
- }
-
public:
ImplB2DPolyRange() :
maBounds(),
@@ -52,12 +40,6 @@ namespace basegfx
maOrient()
{}
- explicit ImplB2DPolyRange( const B2DRange& rRange, B2VectorOrientation eOrient ) :
- maBounds( rRange ),
- maRanges( 1, rRange ),
- maOrient( 1, eOrient )
- {}
-
bool operator==(const ImplB2DPolyRange& rRHS) const
{
return maRanges == rRHS.maRanges && maOrient == rRHS.maOrient;
diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx
index 5d198fb03aa4..4a1725acb331 100644
--- a/basegfx/source/range/b2drangeclipper.cxx
+++ b/basegfx/source/range/b2drangeclipper.cxx
@@ -21,6 +21,7 @@
#include <basegfx/tuple/b2dtuple.hxx>
#include <basegfx/range/b2drange.hxx>
+#include <basegfx/range/b2drangeclipper.hxx>
#include <basegfx/range/b2dpolyrange.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>