summaryrefslogtreecommitdiff
path: root/basegfx/source/polygon/b2dpolygon.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:43:43 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 02:43:43 +0000
commit3a8f21bdef7b4993896931852b3049c2b237eb2d (patch)
tree52d3d3f350c9c2613d470baa5e6d9a22ba90c3c3 /basegfx/source/polygon/b2dpolygon.cxx
parentffd5b2df17b6e18dad7b388ec97126d37b4ebaa2 (diff)
INTEGRATION: CWS warnings01 (1.14.2); FILE MERGED
2006/02/21 14:40:24 thb 1.14.2.1: #i55991# Changed matrix template int param to unsigned; int-casting it to reduced range where necessary; reverted senseless bitfield back to bool; renamed function parameter according to naming conventions (i.e. ripped off leading m)
Diffstat (limited to 'basegfx/source/polygon/b2dpolygon.cxx')
-rw-r--r--basegfx/source/polygon/b2dpolygon.cxx13
1 files changed, 6 insertions, 7 deletions
diff --git a/basegfx/source/polygon/b2dpolygon.cxx b/basegfx/source/polygon/b2dpolygon.cxx
index e98698c5fd8f..c69d65994124 100644
--- a/basegfx/source/polygon/b2dpolygon.cxx
+++ b/basegfx/source/polygon/b2dpolygon.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: b2dpolygon.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: kz $ $Date: 2005-11-02 13:57:33 $
+ * last change: $Author: hr $ $Date: 2006-06-20 03:43:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -163,14 +163,14 @@ public:
}
}
- void flip(bool mbIsClosed)
+ void flip(bool bIsClosed)
{
if(maVector.size() > 1)
{
// to keep the same point at index 0, just flip all points except the
// first one when closed
- const sal_uInt32 nHalfSize(mbIsClosed ? (maVector.size() - 1L) >> 1L : maVector.size() >> 1L);
- CoordinateData2DVector::iterator aStart(mbIsClosed ? maVector.begin() + 1L : maVector.begin());
+ const sal_uInt32 nHalfSize(bIsClosed ? (maVector.size() - 1L) >> 1L : maVector.size() >> 1L);
+ CoordinateData2DVector::iterator aStart(bIsClosed ? maVector.begin() + 1L : maVector.begin());
CoordinateData2DVector::iterator aEnd(maVector.end() - 1L);
for(sal_uInt32 a(0); a < nHalfSize; a++)
@@ -452,9 +452,8 @@ class ImplB2DPolygon
// and may be zero.
ControlVectorArray2D* mpControlVector;
- // bitfield
// flag which decides if this polygon is opened or closed
- unsigned mbIsClosed : 1;
+ bool mbIsClosed;
public:
// This constructor is only used from the static identity polygon, thus