summaryrefslogtreecommitdiffstats
path: root/basegfx/source/range
diff options
context:
space:
mode:
authorAlexander Bergmann <myaddons@gmx.de>2012-02-01 16:34:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-01 16:34:50 +0000
commitb3c3e116ff0eb9b550b73d3901395c042e31d192 (patch)
tree10814ac19c46bffb767d25e9ec408531d3878c14 /basegfx/source/range
parentpointer -> reference (diff)
downloadcore-b3c3e116ff0eb9b550b73d3901395c042e31d192.tar.gz
core-b3c3e116ff0eb9b550b73d3901395c042e31d192.zip
unusedcode.easy: Removed unused code
Diffstat (limited to 'basegfx/source/range')
-rw-r--r--basegfx/source/range/b1drange.cxx18
-rw-r--r--basegfx/source/range/b2drange.cxx7
-rw-r--r--basegfx/source/range/b3drange.cxx29
3 files changed, 0 insertions, 54 deletions
diff --git a/basegfx/source/range/b1drange.cxx b/basegfx/source/range/b1drange.cxx
index 402d56b123c0..0d6bd142e405 100644
--- a/basegfx/source/range/b1drange.cxx
+++ b/basegfx/source/range/b1drange.cxx
@@ -32,24 +32,6 @@
namespace basegfx
{
- B1DRange::B1DRange( const B1IRange& rRange ) :
- maRange()
- {
- if( !rRange.isEmpty() )
- {
- maRange = rRange.getMinimum();
- expand(rRange.getMaximum());
- }
- }
-
- B1IRange fround(const B1DRange& rRange)
- {
- return rRange.isEmpty() ?
- B1IRange() :
- B1IRange( fround( rRange.getMinimum()),
- fround( rRange.getMaximum()) );
- }
-
} // end of namespace basegfx
// eof
diff --git a/basegfx/source/range/b2drange.cxx b/basegfx/source/range/b2drange.cxx
index 2da38ce2dbc3..5884b7e564f4 100644
--- a/basegfx/source/range/b2drange.cxx
+++ b/basegfx/source/range/b2drange.cxx
@@ -60,13 +60,6 @@ namespace basegfx
}
}
- B2IRange fround(const B2DRange& rRange)
- {
- return rRange.isEmpty() ?
- B2IRange() :
- B2IRange(fround(rRange.getMinimum()),
- fround(rRange.getMaximum()));
- }
} // end of namespace basegfx
// eof
diff --git a/basegfx/source/range/b3drange.cxx b/basegfx/source/range/b3drange.cxx
index fb29c917c19e..65643939950c 100644
--- a/basegfx/source/range/b3drange.cxx
+++ b/basegfx/source/range/b3drange.cxx
@@ -33,23 +33,6 @@
namespace basegfx
{
- B3DRange::B3DRange(const B3IRange& rRange) :
- maRangeX(),
- maRangeY(),
- maRangeZ()
- {
- if( !rRange.isEmpty() )
- {
- maRangeX = rRange.getMinX();
- maRangeY = rRange.getMinY();
- maRangeZ = rRange.getMinZ();
-
- maRangeX.expand( rRange.getMaxX() );
- maRangeY.expand( rRange.getMaxY() );
- maRangeZ.expand( rRange.getMaxZ() );
- }
- }
-
void B3DRange::transform(const B3DHomMatrix& rMatrix)
{
if(!isEmpty() && !rMatrix.isIdentity())
@@ -67,18 +50,6 @@ namespace basegfx
}
}
- B3IRange fround(const B3DRange& rRange )
- {
- return rRange.isEmpty() ?
- B3IRange() :
- B3IRange(fround(rRange.getMinX()),
- fround(rRange.getMinY()),
- fround(rRange.getMinZ()),
- fround(rRange.getMaxX()),
- fround(rRange.getMaxY()),
- fround(rRange.getMaxZ()));
- }
-
} // end of namespace basegfx
// eof