summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 11:51:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:11:46 +0100
commit55663afa0ee1cf36968b278d81fc8ad686de5435 (patch)
tree3af4d5f93a53f750148fbc742ace95ffe98b94a7 /basegfx
parent1acab105ba508b559d98600388b4d6be39dfad05 (diff)
Use bool
Change-Id: I703bd28163f4ca1a6c8a4e818b0472aa809bdbad
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygoncutter.cxx4
-rw-r--r--basegfx/source/polygon/b3dpolygon.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygoncutter.cxx b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
index b93b271b64d0..bc5cfc48efd0 100644
--- a/basegfx/source/polygon/b2dpolypolygoncutter.cxx
+++ b/basegfx/source/polygon/b2dpolypolygoncutter.cxx
@@ -118,8 +118,8 @@ namespace basegfx
SNV maSNV;
CorrectionTable maCorrectionTable;
- unsigned mbIsCurve : 1;
- unsigned mbChanged : 1;
+ bool mbIsCurve : 1;
+ bool mbChanged : 1;
void impAddPolygon(const sal_uInt32 aPos, const B2DPolygon& rGeometry)
{
diff --git a/basegfx/source/polygon/b3dpolygon.cxx b/basegfx/source/polygon/b3dpolygon.cxx
index 5a07ab2b6d0c..24fe3f0fd82d 100644
--- a/basegfx/source/polygon/b3dpolygon.cxx
+++ b/basegfx/source/polygon/b3dpolygon.cxx
@@ -787,10 +787,10 @@ class ImplB3DPolygon
// bitfield
// flag which decides if this polygon is opened or closed
- unsigned mbIsClosed : 1;
+ bool mbIsClosed : 1;
// flag which says if maPlaneNormal is up-to-date
- unsigned mbPlaneNormalValid : 1;
+ bool mbPlaneNormalValid : 1;
protected:
void invalidatePlaneNormal()