[Libreoffice-commits] core.git: basegfx/source

Matúš Kukan matus.kukan at collabora.com
Tue Jun 24 23:16:01 PDT 2014


 basegfx/source/range/b2drangeclipper.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 3a8d0c0ff5c3b23de3bfb416a5c0e44e5ddc467a
Author: Matúš Kukan <matus.kukan at collabora.com>
Date:   Tue Jun 24 21:03:22 2014 +0200

    isFinished() not really used
    
    Change-Id: I5558177fe61adbbff191042f1be22ecb0ce8f11a

diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx
index 4a1725a..860283c 100644
--- a/basegfx/source/range/b2drangeclipper.cxx
+++ b/basegfx/source/range/b2drangeclipper.cxx
@@ -258,7 +258,6 @@ namespace basegfx
             }
 
             void setPolygonPoolIndex( std::ptrdiff_t nIdx ) { mnIdx = nIdx; }
-            bool isFinished() const { return mbIsFinished; }
 
             /// Add point to the end of the existing points
             void append( const B2DPoint& rPoint )
@@ -304,7 +303,7 @@ namespace basegfx
                                       B2DPolyPolygon&   rRes,
                                       bool              isFinishingEdge )
             {
-                OSL_PRECOND( !isFinished(),
+                OSL_PRECOND( !mbIsFinished,
                              "ImplPolygon::intersect(): called on already finished polygon!" );
                 OSL_PRECOND( !isFinishingEdge
                              || (isFinishingEdge && &rEvent.getRect() == &rActiveEdge.getRect()),


More information about the Libreoffice-commits mailing list