summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive2d
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-10 17:52:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-10 17:52:55 +0100
commit70863f08d83dec5c9ee51d06b64bbca59e9daaef (patch)
treeee298b1dbec44ceb7231e7afeaa897b9c85d7fd9 /include/drawinglayer/primitive2d
parent10840ad753b60886ea5175060cb0ec2a77e1579a (diff)
Use bool
Change-Id: I2d06ae03650b318a1318d0e2b026352e22404fdd
Diffstat (limited to 'include/drawinglayer/primitive2d')
-rw-r--r--include/drawinglayer/primitive2d/animatedprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/sceneprimitive2d.hxx2
-rw-r--r--include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx10
5 files changed, 9 insertions, 9 deletions
diff --git a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
index edb3a7db12e2..4d0358d06555 100644
--- a/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/animatedprimitive2d.hxx
@@ -65,7 +65,7 @@ namespace drawinglayer
/** flag if this is a text or graphic animation. Necessary since SdrViews need to differentiate
between both types if they are on/off
*/
- unsigned mbIsTextAnimation : 1;
+ bool mbIsTextAnimation : 1;
public:
/// constructor
diff --git a/include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx b/include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx
index ec20118a3cfc..d8ffc3fd3754 100644
--- a/include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/embedded3dprimitive2d.hxx
@@ -76,7 +76,7 @@ namespace drawinglayer
/** flag if given 3D geometry is already cheched for shadow definitions and 2d shadows
are created in maShadowPrimitives
*/
- unsigned mbShadow3DChecked : 1;
+ bool mbShadow3DChecked : 1;
/// private helpers
bool impGetShadow3D(const geometry::ViewInformation2D& rViewInformation) const;
diff --git a/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx b/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx
index 07ed5a1c75fe..318588f544e5 100644
--- a/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/pagepreviewprimitive2d.hxx
@@ -61,7 +61,7 @@ namespace drawinglayer
/// bitfield
/// flag to allow keeping the aspect ratio
- unsigned mbKeepAspectRatio : 1;
+ bool mbKeepAspectRatio : 1;
protected:
/// local decomposition. Implementation will just return children
diff --git a/include/drawinglayer/primitive2d/sceneprimitive2d.hxx b/include/drawinglayer/primitive2d/sceneprimitive2d.hxx
index c0c5144202db..6153674de1e5 100644
--- a/include/drawinglayer/primitive2d/sceneprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/sceneprimitive2d.hxx
@@ -78,7 +78,7 @@ namespace drawinglayer
/** flag if given 3D geometry is already cheched for shadow definitions and 2d shadows
are created in maShadowPrimitives
*/
- unsigned mbShadow3DChecked : 1;
+ bool mbShadow3DChecked : 1;
/// the last used NewDiscreteSize and NewUnitVisiblePart definitions for decomposition
double mfOldDiscreteSizeX;
diff --git a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
index 575678422360..e12b18608350 100644
--- a/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/textdecoratedprimitive2d.hxx
@@ -62,11 +62,11 @@ namespace drawinglayer
TextRelief meTextRelief;
/// bitfield
- unsigned mbUnderlineAbove : 1;
- unsigned mbWordLineMode : 1;
- unsigned mbEmphasisMarkAbove : 1;
- unsigned mbEmphasisMarkBelow : 1;
- unsigned mbShadow : 1;
+ bool mbUnderlineAbove : 1;
+ bool mbWordLineMode : 1;
+ bool mbEmphasisMarkAbove : 1;
+ bool mbEmphasisMarkBelow : 1;
+ bool mbShadow : 1;
/// helper methods
void impCreateGeometryContent(