Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


---
 basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx |    3 -
 basegfx/inc/basegfx/polygon/b2dpolygon.hxx       |   20 --------
 basegfx/inc/basegfx/polygon/b3dpolygon.hxx       |    3 -
 basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx   |    3 -
 basegfx/inc/basegfx/range/b1drange.hxx           |    8 ---
 basegfx/inc/basegfx/range/b2drange.hxx           |    6 --
 basegfx/inc/basegfx/range/b3drange.hxx           |    8 ---
 basegfx/inc/basegfx/tools/canvastools.hxx        |   10 ----
 basegfx/inc/basegfx/tools/unopolypolygon.hxx     |    3 -
 basegfx/inc/basegfx/tuple/b2i64tuple.hxx         |    2 -
 basegfx/inc/basegfx/tuple/b2ituple.hxx           |    2 -
 basegfx/inc/basegfx/tuple/b3dtuple.hxx           |    7 ---
 basegfx/inc/basegfx/tuple/b3i64tuple.hxx         |    2 -
 basegfx/inc/basegfx/tuple/b3ituple.hxx           |    2 -
 basegfx/inc/basegfx/vector/b2dvector.hxx         |    8 ---
 basegfx/inc/basegfx/vector/b2ivector.hxx         |   14 -----
 basegfx/source/matrix/b2dhommatrixtools.cxx      |   26 ----------
 basegfx/source/polygon/b2dpolygon.cxx            |   24 ---------
 basegfx/source/polygon/b3dpolygon.cxx            |    5 --
 basegfx/source/polygon/b3dpolypolygon.cxx        |   17 -------
 basegfx/source/range/b1drange.cxx                |   18 -------
 basegfx/source/range/b2drange.cxx                |    7 ---
 basegfx/source/range/b3drange.cxx                |   29 -----------
 basegfx/source/tools/canvastools.cxx             |   56 ----------------------
 basegfx/source/tools/unopolypolygon.cxx          |    5 --
 basegfx/source/tuple/b2i64tuple.cxx              |    5 --
 basegfx/source/tuple/b2ituple.cxx                |    5 --
 basegfx/source/tuple/b3dtuple.cxx                |    6 --
 basegfx/source/tuple/b3i64tuple.cxx              |    4 --
 basegfx/source/tuple/b3ituple.cxx                |    4 --
 basegfx/source/vector/b2dvector.cxx              |    8 ---
 basegfx/source/vector/b2ivector.cxx              |    6 --
 unusedcode.easy                                  |   25 ----------
 33 files changed, 0 insertions(+), 351 deletions(-)

diff --git a/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx 
b/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
index 3d0d22d..e53a598 100644
--- a/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
+++ b/basegfx/inc/basegfx/matrix/b2dhommatrixtools.hxx
@@ -226,9 +226,6 @@ namespace basegfx
         };
     } // end of namespace tools
 
-    /// Returns a string with svg's "matrix(m00,m10,m01,m11,m02,m12)" representation
-    ::rtl::OUString exportToSvg( const B2DHomMatrix& rMatrix );
-
 } // end of namespace basegfx
 
 ///////////////////////////////////////////////////////////////////////////////
diff --git a/basegfx/inc/basegfx/polygon/b2dpolygon.hxx b/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
index 707590d..3443d72 100644
--- a/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
+++ b/basegfx/inc/basegfx/polygon/b2dpolygon.hxx
@@ -187,26 +187,6 @@ namespace basegfx
         */
         B2DRange getB2DRange() const;
 
-        /** insert other 2D polygons
-
-            The default (with nIndex2 == 0 && nCount == 0) inserts the whole
-            rPoly at position nIndex
-
-            @param nIndex
-            Target index for points to be inserted
-
-            @param rPoly
-            The source for new points
-
-            @param nIndex2
-            The index to the first source point into rPoly
-
-            @param nCount
-            How many points to add from rPoly to this polygon. Null
-            means to copy all (starting from nIndex2)
-        */
-        void insert(sal_uInt32 nIndex, const B2DPolygon& rPoly, sal_uInt32 nIndex2 = 0, sal_uInt32 
nCount = 0);
-
         /** append other 2D polygons
 
             The default (nIndex ==0 && nCount == 0) will append
diff --git a/basegfx/inc/basegfx/polygon/b3dpolygon.hxx b/basegfx/inc/basegfx/polygon/b3dpolygon.hxx
index 359adf2..2aae89b 100644
--- a/basegfx/inc/basegfx/polygon/b3dpolygon.hxx
+++ b/basegfx/inc/basegfx/polygon/b3dpolygon.hxx
@@ -69,9 +69,6 @@ namespace basegfx
         // assignment operator
         B3DPolygon& operator=(const B3DPolygon& rPolygon);
 
-        /// unshare this polygon with all internally shared instances
-        void makeUnique();
-
         // compare operators
         bool operator==(const B3DPolygon& rPolygon) const;
         bool operator!=(const B3DPolygon& rPolygon) const;
diff --git a/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx 
b/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx
index 98ba7cc..fab75a1 100644
--- a/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx
+++ b/basegfx/inc/basegfx/polygon/b3dpolypolygon.hxx
@@ -101,9 +101,6 @@ namespace basegfx
         // reset to empty state
         void clear();
 
-        // closed state
-        bool isClosed() const;
-
         // flip polygon direction
         void flip();
 
diff --git a/basegfx/inc/basegfx/range/b1drange.hxx b/basegfx/inc/basegfx/range/b1drange.hxx
index cac1efb..97e0cb9 100644
--- a/basegfx/inc/basegfx/range/b1drange.hxx
+++ b/basegfx/inc/basegfx/range/b1drange.hxx
@@ -71,8 +71,6 @@ namespace basegfx
             expand(fStartValue2);
         }
 
-        BASEGFX_DLLPUBLIC explicit B1DRange( const B1IRange& rRange );
-
         /** Check if the interval set is empty
 
             @return false, if no value is in this set - having a
@@ -177,12 +175,6 @@ namespace basegfx
         }
     };
 
-    /** Round double to nearest integer for 1D range
-
-        @return the nearest integer for this range
-    */
-    BASEGFX_DLLPUBLIC B1IRange fround(const B1DRange& rRange);
-
 } // end of namespace basegfx
 
 
diff --git a/basegfx/inc/basegfx/range/b2drange.hxx b/basegfx/inc/basegfx/range/b2drange.hxx
index b8a51ae..7d7edb0 100644
--- a/basegfx/inc/basegfx/range/b2drange.hxx
+++ b/basegfx/inc/basegfx/range/b2drange.hxx
@@ -292,12 +292,6 @@ namespace basegfx
         MyBasicRange        maRangeY;
     };
 
-    /** Round double to nearest integer for 2D range
-
-        @return the nearest integer for this range
-    */
-    BASEGFX_DLLPUBLIC B2IRange fround(const B2DRange& rRange);
-
     /** Compute the set difference of the two given ranges
 
         This method calculates the symmetric difference (aka XOR)
diff --git a/basegfx/inc/basegfx/range/b3drange.hxx b/basegfx/inc/basegfx/range/b3drange.hxx
index 353d16c..8f1caf0 100644
--- a/basegfx/inc/basegfx/range/b3drange.hxx
+++ b/basegfx/inc/basegfx/range/b3drange.hxx
@@ -83,8 +83,6 @@ namespace basegfx
             expand(rTuple2);
         }
 
-         BASEGFX_DLLPUBLIC explicit B3DRange(const B3IRange& rRange);
-
         bool isEmpty() const
         {
             return (
@@ -276,12 +274,6 @@ namespace basegfx
          BASEGFX_DLLPUBLIC void transform(const B3DHomMatrix& rMatrix);
     };
 
-    /** Round double to nearest integer for 3D range
-
-        @return the nearest integer for this range
-    */
-    BASEGFX_DLLPUBLIC B3IRange fround(const B3DRange& rRange);
-
 } // end of namespace basegfx
 
 
diff --git a/basegfx/inc/basegfx/tools/canvastools.hxx b/basegfx/inc/basegfx/tools/canvastools.hxx
index ea1924a..40f45e0 100644
--- a/basegfx/inc/basegfx/tools/canvastools.hxx
+++ b/basegfx/inc/basegfx/tools/canvastools.hxx
@@ -165,21 +165,11 @@ namespace basegfx
         BASEGFX_DLLPUBLIC ::basegfx::B2IVector      b2ISizeFromIntegerSize2D( const 
::com::sun::star::geometry::IntegerSize2D& );
         BASEGFX_DLLPUBLIC ::basegfx::B2IRange       b2IRectangleFromIntegerRectangle2D( const 
::com::sun::star::geometry::IntegerRectangle2D& );
 
-        BASEGFX_DLLPUBLIC ::com::sun::star::awt::Size       awtSizeFromB2ISize( const 
::basegfx::B2IVector& );
-        BASEGFX_DLLPUBLIC ::com::sun::star::awt::Point          awtPointFromB2IPoint( const 
::basegfx::B2IPoint& );
-        BASEGFX_DLLPUBLIC ::com::sun::star::awt::Rectangle  awtRectangleFromB2IRectangle( const 
::basegfx::B2IRange& );
-
-        BASEGFX_DLLPUBLIC ::basegfx::B2IVector      b2ISizeFromAwtSize( const 
::com::sun::star::awt::Size& );
-        BASEGFX_DLLPUBLIC ::basegfx::B2IPoint       b2IPointFromAwtPoint( const 
::com::sun::star::awt::Point& );
         BASEGFX_DLLPUBLIC ::basegfx::B2IRange       b2IRectangleFromAwtRectangle( const 
::com::sun::star::awt::Rectangle& );
 
         // Geometry comparisons
         // ===================================================================
 
-        BASEGFX_DLLPUBLIC bool awtSizeAreEqual( const ::com::sun::star::awt::Size& rA, const 
::com::sun::star::awt::Size& rB );
-        BASEGFX_DLLPUBLIC bool awtPointAreEqual( const ::com::sun::star::awt::Point& rA, const 
::com::sun::star::awt::Point& rB );
-        BASEGFX_DLLPUBLIC bool awtRectangleAreEqual( const ::com::sun::star::awt::Rectangle& rA, 
const ::com::sun::star::awt::Rectangle& rB );
-
         /** Return smalltest integer range, which completely contains
             given floating point range.
 
diff --git a/basegfx/inc/basegfx/tools/unopolypolygon.hxx 
b/basegfx/inc/basegfx/tools/unopolypolygon.hxx
index ca04b7a..558ab7e 100644
--- a/basegfx/inc/basegfx/tools/unopolypolygon.hxx
+++ b/basegfx/inc/basegfx/tools/unopolypolygon.hxx
@@ -95,9 +95,6 @@ namespace unotools
                                              sal_Int32 nPointIndex,
                                              sal_Int32 nNumberOfPoints ) const;
 
-        /// Get cow copy of internal polygon. not thread-safe outside this object.
-        B2DPolyPolygon getPolyPolygonUnsafe() const;
-
         /// Called whenever internal polypolygon gets modified
         virtual void modifying() const {}
 
diff --git a/basegfx/inc/basegfx/tuple/b2i64tuple.hxx b/basegfx/inc/basegfx/tuple/b2i64tuple.hxx
index bbea7a5..7af092b 100644
--- a/basegfx/inc/basegfx/tuple/b2i64tuple.hxx
+++ b/basegfx/inc/basegfx/tuple/b2i64tuple.hxx
@@ -198,8 +198,6 @@ namespace basegfx
             mnY = rTup.mnY;
             return *this;
         }
-
-        static const B2I64Tuple& getEmptyTuple();
     };
 
     // external operators
diff --git a/basegfx/inc/basegfx/tuple/b2ituple.hxx b/basegfx/inc/basegfx/tuple/b2ituple.hxx
index 4072073..12459e0 100644
--- a/basegfx/inc/basegfx/tuple/b2ituple.hxx
+++ b/basegfx/inc/basegfx/tuple/b2ituple.hxx
@@ -196,8 +196,6 @@ namespace basegfx
             mnY = rTup.mnY;
             return *this;
         }
-
-        static const B2ITuple& getEmptyTuple();
     };
 
     // external operators
diff --git a/basegfx/inc/basegfx/tuple/b3dtuple.hxx b/basegfx/inc/basegfx/tuple/b3dtuple.hxx
index a202b34..0ed9943 100644
--- a/basegfx/inc/basegfx/tuple/b3dtuple.hxx
+++ b/basegfx/inc/basegfx/tuple/b3dtuple.hxx
@@ -95,13 +95,6 @@ namespace basegfx
             mfZ( rTup.mfZ )
         {}
 
-        /** Create a copy of a 3D integer Tuple
-
-            @param rTup
-            The 3D Tuple which will be copied.
-        */
-        explicit B3DTuple(const B3ITuple& rTup);
-
         ~B3DTuple()
         {}
 
diff --git a/basegfx/inc/basegfx/tuple/b3i64tuple.hxx b/basegfx/inc/basegfx/tuple/b3i64tuple.hxx
index 598a1d9..4ca6fac 100644
--- a/basegfx/inc/basegfx/tuple/b3i64tuple.hxx
+++ b/basegfx/inc/basegfx/tuple/b3i64tuple.hxx
@@ -229,8 +229,6 @@ namespace basegfx
             mnZ = rTup.mnZ;
             return *this;
         }
-
-        static const B3I64Tuple& getEmptyTuple();
     };
 
     // external operators
diff --git a/basegfx/inc/basegfx/tuple/b3ituple.hxx b/basegfx/inc/basegfx/tuple/b3ituple.hxx
index a822702..15f84da 100644
--- a/basegfx/inc/basegfx/tuple/b3ituple.hxx
+++ b/basegfx/inc/basegfx/tuple/b3ituple.hxx
@@ -228,8 +228,6 @@ namespace basegfx
             mnZ = rTup.mnZ;
             return *this;
         }
-
-        static const B3ITuple& getEmptyTuple();
     };
 
     // external operators
diff --git a/basegfx/inc/basegfx/vector/b2dvector.hxx b/basegfx/inc/basegfx/vector/b2dvector.hxx
index 174dd5a..109f646 100644
--- a/basegfx/inc/basegfx/vector/b2dvector.hxx
+++ b/basegfx/inc/basegfx/vector/b2dvector.hxx
@@ -142,14 +142,6 @@ namespace basegfx
         */
         B2DVector& normalize();
 
-        /** Test if this 2D Vector is normalized
-
-            @return
-            true if lenth of vector is equal to 1.0
-            false else
-        */
-        bool isNormalized() const;
-
         /** Calculate the Scalar with another 2D Vector
 
             @param rVec
diff --git a/basegfx/inc/basegfx/vector/b2ivector.hxx b/basegfx/inc/basegfx/vector/b2ivector.hxx
index 2fcbc54..e1df2b4 100644
--- a/basegfx/inc/basegfx/vector/b2ivector.hxx
+++ b/basegfx/inc/basegfx/vector/b2ivector.hxx
@@ -141,20 +141,6 @@ namespace basegfx
     // external operators
     //////////////////////////////////////////////////////////////////////////
 
-    /** Test two vectors which need not to be normalized for parallelism
-
-        @param rVecA
-        The first 2D Vector
-
-        @param rVecB
-        The second 2D Vector
-
-        @return
-        bool if the two values are parallel. Also true if
-        one of the vectors is empty.
-    */
-    BASEGFX_DLLPUBLIC bool areParallel( const B2IVector& rVecA, const B2IVector& rVecB );
-
     /** Transform vector by given transformation matrix.
 
         Since this is a vector, translational components of the
diff --git a/basegfx/source/matrix/b2dhommatrixtools.cxx 
b/basegfx/source/matrix/b2dhommatrixtools.cxx
index 5746534..2612d9f 100644
--- a/basegfx/source/matrix/b2dhommatrixtools.cxx
+++ b/basegfx/source/matrix/b2dhommatrixtools.cxx
@@ -34,32 +34,6 @@
 
 namespace basegfx
 {
-    ::rtl::OUString exportToSvg( const B2DHomMatrix& rMatrix )
-    {
-        rtl::OUStringBuffer aStrBuf;
-        aStrBuf.appendAscii("matrix(");
-
-        aStrBuf.append(rMatrix.get(0,0));
-        aStrBuf.appendAscii(", ");
-
-        aStrBuf.append(rMatrix.get(1,0));
-        aStrBuf.appendAscii(", ");
-
-        aStrBuf.append(rMatrix.get(0,1));
-        aStrBuf.appendAscii(", ");
-
-        aStrBuf.append(rMatrix.get(1,1));
-        aStrBuf.appendAscii(", ");
-
-        aStrBuf.append(rMatrix.get(0,2));
-        aStrBuf.appendAscii(", ");
-
-        aStrBuf.append(rMatrix.get(1,2));
-        aStrBuf.appendAscii(")");
-
-        return aStrBuf.makeStringAndClear();
-    }
-
     namespace tools
     {
         void createSinCosOrthogonal(double& o_rSin, double& o_rCos, double fRadiant)
diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx
index a774922..3d7b948 100644
--- a/basegfx/source/polygon/b2dpolygon.cxx
+++ b/basegfx/source/polygon/b2dpolygon.cxx
@@ -1484,30 +1484,6 @@ namespace basegfx
         return mpPolygon->getB2DRange(*this);
     }
 
-    void B2DPolygon::insert(sal_uInt32 nIndex, const B2DPolygon& rPoly, sal_uInt32 nIndex2, 
sal_uInt32 nCount)
-    {
-        OSL_ENSURE(nIndex <= mpPolygon->count(), "B2DPolygon Insert outside range (!)");
-
-        if(rPoly.count())
-        {
-            if(!nCount)
-            {
-                nCount = rPoly.count();
-            }
-
-            if(0 == nIndex2 && nCount == rPoly.count())
-            {
-                mpPolygon->insert(nIndex, *rPoly.mpPolygon);
-            }
-            else
-            {
-                OSL_ENSURE(nIndex2 + nCount <= rPoly.mpPolygon->count(), "B2DPolygon Insert 
outside range (!)");
-                ImplB2DPolygon aTempPoly(*rPoly.mpPolygon, nIndex2, nCount);
-                mpPolygon->insert(nIndex, aTempPoly);
-            }
-        }
-    }
-
     void B2DPolygon::append(const B2DPolygon& rPoly, sal_uInt32 nIndex, sal_uInt32 nCount)
     {
         if(rPoly.count())
diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx
index 5e0ed37..8b802b4 100644
--- a/basegfx/source/polygon/b3dpolygon.cxx
+++ b/basegfx/source/polygon/b3dpolygon.cxx
@@ -1557,11 +1557,6 @@ namespace basegfx
         return *this;
     }
 
-    void B3DPolygon::makeUnique()
-    {
-        mpPolygon.make_unique();
-    }
-
     bool B3DPolygon::operator==(const B3DPolygon& rPolygon) const
     {
         if(mpPolygon.same_object(rPolygon.mpPolygon))
diff --git a/basegfx/source/polygon/b3dpolypolygon.cxx b/basegfx/source/polygon/b3dpolypolygon.cxx
index 9291c4a..5d8e8f5 100644
--- a/basegfx/source/polygon/b3dpolypolygon.cxx
+++ b/basegfx/source/polygon/b3dpolypolygon.cxx
@@ -385,23 +385,6 @@ namespace basegfx
         mpPolyPolygon = DefaultPolyPolygon::get();
     }
 
-    bool B3DPolyPolygon::isClosed() const
-    {
-        bool bRetval(true);
-
-        // PolyPOlygon is closed when all contained Polygons are closed or
-        // no Polygon exists.
-        for(sal_uInt32 a(0L); bRetval && a < mpPolyPolygon->count(); a++)
-        {
-            if(!(mpPolyPolygon->getB3DPolygon(a)).isClosed())
-            {
-                bRetval = false;
-            }
-        }
-
-        return bRetval;
-    }
-
     void B3DPolyPolygon::flip()
     {
         mpPolyPolygon->flip();
diff --git a/basegfx/source/range/b1drange.cxx b/basegfx/source/range/b1drange.cxx
index 402d56b..0d6bd14 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 2da38ce..5884b7e 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 fb29c91..6564393 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
diff --git a/basegfx/source/tools/canvastools.cxx b/basegfx/source/tools/canvastools.cxx
index 18e0ad3..5743c30 100644
--- a/basegfx/source/tools/canvastools.cxx
+++ b/basegfx/source/tools/canvastools.cxx
@@ -510,45 +510,6 @@ namespace basegfx
                                         rRectangle.X2, rRectangle.Y2 );
         }
 
-        awt::Size awtSizeFromB2ISize( const ::basegfx::B2IVector& rVec )
-        {
-            return awt::Size( rVec.getX(),
-                              rVec.getY() );
-        }
-
-        awt::Point awtPointFromB2IPoint( const ::basegfx::B2IPoint& rPoint )
-        {
-            return awt::Point( rPoint.getX(),
-                               rPoint.getY() );
-        }
-
-        awt::Rectangle awtRectangleFromB2IRectangle( const ::basegfx::B2IRange& rRect )
-        {
-            OSL_ENSURE( rRect.getWidth() < ::std::numeric_limits< sal_Int32 >::max() &&
-                        rRect.getWidth() > ::std::numeric_limits< sal_Int32 >::min(),
-                        "awtRectangleFromB2IRectangle(): width overflow" );
-            OSL_ENSURE( rRect.getHeight() < ::std::numeric_limits< sal_Int32 >::max() &&
-                        rRect.getHeight() > ::std::numeric_limits< sal_Int32 >::min(),
-                        "awtRectangleFromB2IRectangle(): height overflow" );
-
-            return awt::Rectangle( rRect.getMinX(),
-                                   rRect.getMinY(),
-                                   static_cast< sal_Int32 >(rRect.getWidth()),
-                                   static_cast< sal_Int32 >(rRect.getHeight()) );
-        }
-
-        ::basegfx::B2IVector b2ISizeFromAwtSize( const awt::Size& rSize )
-        {
-            return ::basegfx::B2IVector( rSize.Width,
-                                         rSize.Height );
-        }
-
-        ::basegfx::B2IPoint b2IPointFromAwtPoint( const awt::Point& rPoint )
-        {
-            return ::basegfx::B2IPoint( rPoint.X,
-                                        rPoint.Y );
-        }
-
         ::basegfx::B2IRange b2IRectangleFromAwtRectangle( const awt::Rectangle& rRect )
         {
             return ::basegfx::B2IRange( rRect.X,
@@ -581,23 +542,6 @@ namespace basegfx
                                         ceil(rRange.getMaxY()) );
         }
 
-        // Geometry comparisons
-        // ===================================================================
-
-        bool awtSizeAreEqual( const ::com::sun::star::awt::Size& rA, const 
::com::sun::star::awt::Size& rB )
-        {
-            return (rA.Width == rB.Width && rA.Height == rB.Height);
-        }
-
-        bool awtPointAreEqual( const ::com::sun::star::awt::Point& rA, const 
::com::sun::star::awt::Point& rB )
-        {
-            return (rA.X == rB.X && rA.Y == rB.Y);
-        }
-
-        bool awtRectangleAreEqual( const ::com::sun::star::awt::Rectangle& rA, const 
::com::sun::star::awt::Rectangle& rB )
-        {
-            return (rA.X == rB.X && rA.Y == rB.Y && rA.Width == rB.Width && rA.Height == 
rB.Height);
-        }
     } // namespace bgfxtools
 
 } // namespace canvas
diff --git a/basegfx/source/tools/unopolypolygon.cxx b/basegfx/source/tools/unopolypolygon.cxx
index 80203c2..2ffaabd 100644
--- a/basegfx/source/tools/unopolypolygon.cxx
+++ b/basegfx/source/tools/unopolypolygon.cxx
@@ -445,11 +445,6 @@ namespace unotools
         return aSubsetPoly;
     }
 
-    B2DPolyPolygon UnoPolyPolygon::getPolyPolygonUnsafe() const
-    {
-        return maPolyPoly;
-    }
-
 #define IMPLEMENTATION_NAME "gfx::internal::UnoPolyPolygon"
 #define SERVICE_NAME "com.sun.star.rendering.PolyPolygon2D"
     ::rtl::OUString SAL_CALL UnoPolyPolygon::getImplementationName() throw( uno::RuntimeException )
diff --git a/basegfx/source/tuple/b2i64tuple.cxx b/basegfx/source/tuple/b2i64tuple.cxx
index fc60871..9b97c4b 100644
--- a/basegfx/source/tuple/b2i64tuple.cxx
+++ b/basegfx/source/tuple/b2i64tuple.cxx
@@ -33,11 +33,6 @@ namespace { struct EmptyTuple : public rtl::Static<basegfx::B2I64Tuple, EmptyTup
 
 namespace basegfx
 {
-    const B2I64Tuple& B2I64Tuple::getEmptyTuple()
-    {
-        return EmptyTuple::get();
-    }
-
 } // end of namespace basegfx
 
 // eof
diff --git a/basegfx/source/tuple/b2ituple.cxx b/basegfx/source/tuple/b2ituple.cxx
index e4bd0fb..f0c22ca 100644
--- a/basegfx/source/tuple/b2ituple.cxx
+++ b/basegfx/source/tuple/b2ituple.cxx
@@ -34,11 +34,6 @@ namespace { struct EmptyTuple : public rtl::Static<basegfx::B2ITuple, EmptyTuple
 
 namespace basegfx
 {
-    const B2ITuple& B2ITuple::getEmptyTuple()
-    {
-            return EmptyTuple::get();
-    }
-
     // external operators
     //////////////////////////////////////////////////////////////////////////
 
diff --git a/basegfx/source/tuple/b3dtuple.cxx b/basegfx/source/tuple/b3dtuple.cxx
index b4adf02..2e0d91a 100644
--- a/basegfx/source/tuple/b3dtuple.cxx
+++ b/basegfx/source/tuple/b3dtuple.cxx
@@ -39,12 +39,6 @@ namespace basegfx
         return EmptyTuple::get();
     }
 
-    B3DTuple::B3DTuple(const B3ITuple& rTup)
-    :   mfX( rTup.getX() ),
-        mfY( rTup.getY() ),
-        mfZ( rTup.getZ() )
-    {}
-
     B3ITuple fround(const B3DTuple& rTup)
     {
         return B3ITuple(fround(rTup.getX()), fround(rTup.getY()), fround(rTup.getZ()));
diff --git a/basegfx/source/tuple/b3i64tuple.cxx b/basegfx/source/tuple/b3i64tuple.cxx
index 630d852..0ee8cdf 100644
--- a/basegfx/source/tuple/b3i64tuple.cxx
+++ b/basegfx/source/tuple/b3i64tuple.cxx
@@ -33,10 +33,6 @@ namespace { struct EmptyTuple : public rtl::Static<basegfx::B3I64Tuple, EmptyTup
 
 namespace basegfx
 {
-    const B3I64Tuple& B3I64Tuple::getEmptyTuple()
-    {
-        return EmptyTuple::get();
-    }
 } // end of namespace basegfx
 
 // eof
diff --git a/basegfx/source/tuple/b3ituple.cxx b/basegfx/source/tuple/b3ituple.cxx
index ec1ecc3..aff58e8 100644
--- a/basegfx/source/tuple/b3ituple.cxx
+++ b/basegfx/source/tuple/b3ituple.cxx
@@ -33,10 +33,6 @@ namespace { struct EmptyTuple : public rtl::Static<basegfx::B3ITuple, EmptyTuple
 
 namespace basegfx
 {
-    const B3ITuple& B3ITuple::getEmptyTuple()
-    {
-        return EmptyTuple::get();
-    }
 } // end of namespace basegfx
 
 // eof
diff --git a/basegfx/source/vector/b2dvector.cxx b/basegfx/source/vector/b2dvector.cxx
index f34e8f4..2962527 100644
--- a/basegfx/source/vector/b2dvector.cxx
+++ b/basegfx/source/vector/b2dvector.cxx
@@ -135,14 +135,6 @@ namespace basegfx
         return *this;
     }
 
-    bool B2DVector::isNormalized() const
-    {
-        const double fOne(1.0);
-        const double fScalar(scalar(*this));
-
-        return fTools::equal(fOne, fScalar);
-    }
-
     bool areParallel( const B2DVector& rVecA, const B2DVector& rVecB )
     {
         const double fValA(rVecA.getX() * rVecB.getY());
diff --git a/basegfx/source/vector/b2ivector.cxx b/basegfx/source/vector/b2ivector.cxx
index bb3ac61..cac7821 100644
--- a/basegfx/source/vector/b2ivector.cxx
+++ b/basegfx/source/vector/b2ivector.cxx
@@ -74,12 +74,6 @@ namespace basegfx
         return *this;
     }
 
-    bool areParallel( const B2IVector& rVecA, const B2IVector& rVecB )
-    {
-        double fVal(rVecA.getX() * rVecB.getY() - rVecA.getY() * rVecB.getX());
-        return ::basegfx::fTools::equalZero(fVal);
-    }
-
     B2IVector operator*( const B2DHomMatrix& rMat, const B2IVector& rVec )
     {
         B2IVector aRes( rVec );
diff --git a/unusedcode.easy b/unusedcode.easy
index a54e369..f9d1486 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -821,23 +821,7 @@ avmedia::priv::MediaWindowBaseImpl::setRate(double)
 avmedia::priv::MediaWindowBaseImpl::setStopTime(double)
 basebmp::BitmapDevice::setDamageTracker(boost::shared_ptr<basebmp::IBitmapDeviceDamageTracker> 
const&)
 basebmp::debugDump(boost::shared_ptr<basebmp::BitmapDevice> const&, std::basic_ostream<char, 
std::char_traits<char> >&)
-basegfx::B1DRange::B1DRange(basegfx::B1IRange const&)
-basegfx::B2DPolygon::insert(unsigned int, basegfx::B2DPolygon const&, unsigned int, unsigned int)
-basegfx::B2DVector::isNormalized() const
-basegfx::B2I64Tuple::getEmptyTuple()
-basegfx::B2ITuple::getEmptyTuple()
-basegfx::B3DPolyPolygon::isClosed() const
-basegfx::B3DPolygon::makeUnique()
-basegfx::B3DRange::B3DRange(basegfx::B3IRange const&)
-basegfx::B3DTuple::B3DTuple(basegfx::B3ITuple const&)
-basegfx::B3I64Tuple::getEmptyTuple()
-basegfx::B3ITuple::getEmptyTuple()
-basegfx::areParallel(basegfx::B2IVector const&, basegfx::B2IVector const&)
 basegfx::computeSetDifference(std::__debug::vector<basegfx::B2IBox, 
std::allocator<basegfx::B2IBox> >&, basegfx::B2IBox const&, basegfx::B2IBox const&)
-basegfx::exportToSvg(basegfx::B2DHomMatrix const&)
-basegfx::fround(basegfx::B1DRange const&)
-basegfx::fround(basegfx::B2DRange const&)
-basegfx::fround(basegfx::B3DRange const&)
 basegfx::tools::addPointsAtCuts(basegfx::B2DPolygon const&)
 basegfx::tools::addPointsAtCutsAndTouches(basegfx::B2DPolyPolygon const&, basegfx::B2DPolygon 
const&)
 basegfx::tools::applyLineDashing(basegfx::B3DPolyPolygon const&, std::__debug::vector<double, 
std::allocator<double> > const&, basegfx::B3DPolyPolygon*, basegfx::B3DPolyPolygon*, double)
@@ -869,15 +853,6 @@ basegfx::tools::reSegmentPolyPolygonEdges(basegfx::B2DPolyPolygon const&, 
unsign
 basegfx::tools::rotateAroundPoint(basegfx::B2DPolyPolygon const&, basegfx::B2DPoint const&, double)
 basegfx::tools::setContinuity(basegfx::B2DPolyPolygon const&, basegfx::B2VectorContinuity)
 basegfx::tools::solveCrossovers(basegfx::B2DPolygon const&)
-basegfx::unotools::UnoPolyPolygon::getPolyPolygonUnsafe() const
-basegfx::unotools::awtPointAreEqual(com::sun::star::awt::Point const&, com::sun::star::awt::Point 
const&)
-basegfx::unotools::awtPointFromB2IPoint(basegfx::B2IPoint const&)
-basegfx::unotools::awtRectangleAreEqual(com::sun::star::awt::Rectangle const&, 
com::sun::star::awt::Rectangle const&)
-basegfx::unotools::awtRectangleFromB2IRectangle(basegfx::B2IRange const&)
-basegfx::unotools::awtSizeAreEqual(com::sun::star::awt::Size const&, com::sun::star::awt::Size 
const&)
-basegfx::unotools::awtSizeFromB2ISize(basegfx::B2IVector const&)
-basegfx::unotools::b2IPointFromAwtPoint(com::sun::star::awt::Point const&)
-basegfx::unotools::b2ISizeFromAwtSize(com::sun::star::awt::Size const&)
 
basic::ScriptExtensionIterator::implGetScriptPackageFromPackage(com::sun::star::uno::Reference<com::sun::star::deployment::XPackage>,
 bool&)
 basic::vba::getCurrentDirectory(com::sun::star::uno::Reference<com::sun::star::frame::XModel> 
const&)
 binfilter::B3dEdgeEntryBucketMemArr::Insert(binfilter::B3dEdgeEntryBucketMemArr const*, unsigned 
short, unsigned short, unsigned short)
-- 
1.7.9


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.